get rid of APPLETSUPERCLASS

This commit is contained in:
Marco Martin 2013-02-06 17:31:10 +01:00
parent df6d918dec
commit fa8ab8574f
2 changed files with 2 additions and 7 deletions

View File

@ -388,7 +388,7 @@ void AppletInterface::gc()
///////////// ContainmentInterface
ContainmentInterface::ContainmentInterface(DeclarativeAppletScript *parent)
: APPLETSUPERCLASS(parent),
: AppletInterface(parent),
m_movableApplets(true)
{
qmlRegisterType<ContainmentInterface>();

View File

@ -314,13 +314,8 @@ public:
};
#ifdef USE_JS_SCRIPTENGINE
#define APPLETSUPERCLASS JsAppletInterface
#else
#define APPLETSUPERCLASS AppletInterface
#endif
class ContainmentInterface : public APPLETSUPERCLASS
class ContainmentInterface : public AppletInterface
{
Q_OBJECT
Q_PROPERTY(QVariantList applets READ applets)