Need to declare it (make it compile)

svn path=/trunk/KDE/kdebase/runtime/; revision=1171528
This commit is contained in:
Laurent Montel 2010-09-04 08:12:04 +00:00
parent 603096a318
commit 7a4560a677
2 changed files with 2 additions and 1 deletions

View File

@ -45,7 +45,7 @@
#include "javascriptaddonpackagestructure.h"
Q_DECLARE_METATYPE(ScriptEnv*)
Q_DECLARE_METATYPE(Plasma::Package)
ScriptEnv::ScriptEnv(QObject *parent, QScriptEngine *engine)
: QObject(parent),
m_allowedUrls(NoUrls),

View File

@ -35,6 +35,7 @@
#include <Plasma/Package>
Q_DECLARE_METATYPE(AppletInterface*)
Q_DECLARE_METATYPE(Plasma::Package)
AppletInterface::AppletInterface(SimpleJavaScriptApplet *parent)
: QObject(parent),