move DummyService to dataengine.h where so it doesn't need to be duplicated elsewhere

svn path=/trunk/KDE/kdebase/runtime/; revision=1077830
This commit is contained in:
Aaron J. Seigo 2010-01-20 23:25:24 +00:00
parent c1f3d903d8
commit 1549eb3528
2 changed files with 11 additions and 11 deletions

View File

@ -75,5 +75,16 @@ int qScriptRegisterMapMetaType(
return qScriptRegisterMetaType<T>(engine, qScriptValueFromMap, qScriptValueToMap, prototype);
}
class DummyService : public Plasma::Service
{
public:
ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters)
{
Q_UNUSED(operation)
Q_UNUSED(parameters)
return 0;
}
};
#endif // DATAENGINE_H

View File

@ -80,17 +80,6 @@ QScriptValue constructQSizeFClass(QScriptEngine *engine);
QScriptValue constructTimerClass(QScriptEngine *engine);
void registerSimpleAppletMetaTypes(QScriptEngine *engine);
class DummyService : public Service
{
public:
ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> &parameters)
{
Q_UNUSED(operation)
Q_UNUSED(parameters)
return 0;
}
};
KSharedPtr<UiLoader> SimpleJavaScriptApplet::s_widgetLoader;
QHash<QString, Plasma::Animator::Animation> SimpleJavaScriptApplet::s_animationDefs;