diff options
Diffstat (limited to 'libsowatch/declarativewatchlet.h')
-rw-r--r-- | libsowatch/declarativewatchlet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libsowatch/declarativewatchlet.h b/libsowatch/declarativewatchlet.h index 2cc4655..0dd7e23 100644 --- a/libsowatch/declarativewatchlet.h +++ b/libsowatch/declarativewatchlet.h @@ -2,6 +2,7 @@ #define SOWATCH_DECLARATIVEWATCHLET_H #include <QtDeclarative/QDeclarativeEngine> +#include <QtDeclarative/QDeclarativeContext> #include <QtDeclarative/QDeclarativeComponent> #include <QtDeclarative/QDeclarativeItem> #include "graphicswatchlet.h" @@ -20,6 +21,9 @@ public: void setSource(const QUrl& url); + QDeclarativeEngine* engine(); + QDeclarativeContext* rootContext(); + protected slots: void handleComponentStatus(QDeclarativeComponent::Status status); |