diff options
Diffstat (limited to 'declarativewatchlet.h')
-rw-r--r-- | declarativewatchlet.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/declarativewatchlet.h b/declarativewatchlet.h deleted file mode 100644 index 1e94007..0000000 --- a/declarativewatchlet.h +++ /dev/null @@ -1,39 +0,0 @@ -#ifndef DECLARATIVEWATCHLET_H -#define DECLARATIVEWATCHLET_H - -#include <QtDeclarative/QDeclarativeEngine> -#include <QtDeclarative/QDeclarativeComponent> -#include <QtDeclarative/QDeclarativeItem> -#include "graphicswatchlet.h" - -namespace sowatch -{ - -class DeclarativeWatchWrapper; - -class DeclarativeWatchlet : public GraphicsWatchlet -{ - Q_OBJECT -public: - explicit DeclarativeWatchlet(WatchServer* server, const QString& id); - - void setSource(const QUrl& url); - -protected slots: - void handleComponentStatus(QDeclarativeComponent::Status status); - -protected: - void activate(); - void deactivate(); - - static bool _registered; - QDeclarativeEngine* _engine; - QDeclarativeComponent* _component; - QDeclarativeItem* _item; - DeclarativeWatchWrapper* _wrapper; - -}; - -} - -#endif // DECLARATIVEWATCHLET_H |