diff options
Diffstat (limited to 'libsowatch/declarativewatchlet.h')
-rw-r--r-- | libsowatch/declarativewatchlet.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libsowatch/declarativewatchlet.h b/libsowatch/declarativewatchlet.h index 087387a..28b16a8 100644 --- a/libsowatch/declarativewatchlet.h +++ b/libsowatch/declarativewatchlet.h @@ -17,7 +17,7 @@ class SOWATCH_EXPORT DeclarativeWatchlet : public GraphicsWatchlet { Q_OBJECT public: - explicit DeclarativeWatchlet(WatchServer* server, const QString& id); + DeclarativeWatchlet(WatchServer* server, const QString& id); ~DeclarativeWatchlet(); void setSource(const QUrl& url); @@ -35,6 +35,7 @@ private: static bool _registered; QDeclarativeEngine* _engine; + QDeclarativeContext *_context; QDeclarativeComponent* _component; QDeclarativeItem* _item; DeclarativeWatchWrapper* _wrapper; @@ -45,4 +46,6 @@ private slots: } +Q_DECLARE_METATYPE(QDeclarativeEngine*) + #endif // SOWATCH_DECLARATIVEWATCHLET_H |