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:
parent
c1f3d903d8
commit
1549eb3528
@ -75,5 +75,16 @@ int qScriptRegisterMapMetaType(
|
|||||||
return qScriptRegisterMetaType<T>(engine, qScriptValueFromMap, qScriptValueToMap, prototype);
|
return qScriptRegisterMetaType<T>(engine, qScriptValueFromMap, qScriptValueToMap, prototype);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class DummyService : public Plasma::Service
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters)
|
||||||
|
{
|
||||||
|
Q_UNUSED(operation)
|
||||||
|
Q_UNUSED(parameters)
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
#endif // DATAENGINE_H
|
#endif // DATAENGINE_H
|
||||||
|
|
||||||
|
@ -80,17 +80,6 @@ QScriptValue constructQSizeFClass(QScriptEngine *engine);
|
|||||||
QScriptValue constructTimerClass(QScriptEngine *engine);
|
QScriptValue constructTimerClass(QScriptEngine *engine);
|
||||||
void registerSimpleAppletMetaTypes(QScriptEngine *engine);
|
void registerSimpleAppletMetaTypes(QScriptEngine *engine);
|
||||||
|
|
||||||
class DummyService : public Service
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
ServiceJob *createJob(const QString &operation, QMap<QString, QVariant> ¶meters)
|
|
||||||
{
|
|
||||||
Q_UNUSED(operation)
|
|
||||||
Q_UNUSED(parameters)
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
KSharedPtr<UiLoader> SimpleJavaScriptApplet::s_widgetLoader;
|
KSharedPtr<UiLoader> SimpleJavaScriptApplet::s_widgetLoader;
|
||||||
QHash<QString, Plasma::Animator::Animation> SimpleJavaScriptApplet::s_animationDefs;
|
QHash<QString, Plasma::Animator::Animation> SimpleJavaScriptApplet::s_animationDefs;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user