summaryrefslogtreecommitdiff
path: root/libsowatch/graphicswatchlet.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:44:40 +0200
committerJavier S. Pedro <maemo@javispedro.com>2013-05-05 01:44:40 +0200
commit24c7c2f6f1429103d922ef940c0e17a3d4778059 (patch)
tree76ab9ac2c9fade7db77f64424a17c478979d8a8b /libsowatch/graphicswatchlet.h
parentea5123cb6b30d5ab083ee3821269537b1d31b9f0 (diff)
downloadsowatch-24c7c2f6f1429103d922ef940c0e17a3d4778059.tar.gz
sowatch-24c7c2f6f1429103d922ef940c0e17a3d4778059.zip
ABI change: Watchlet now depends on Watch, not WatchServer
Diffstat (limited to 'libsowatch/graphicswatchlet.h')
-rw-r--r--libsowatch/graphicswatchlet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsowatch/graphicswatchlet.h b/libsowatch/graphicswatchlet.h
index 24413da..808d57c 100644
--- a/libsowatch/graphicswatchlet.h
+++ b/libsowatch/graphicswatchlet.h
@@ -16,7 +16,7 @@ class SOWATCH_EXPORT GraphicsWatchlet : public Watchlet
Q_PROPERTY(bool fullUpdateMode READ fullUpdateMode WRITE setFullUpdateMode)
public:
- explicit GraphicsWatchlet(WatchServer* server, const QString& id);
+ explicit GraphicsWatchlet(Watch* watch, const QString& id);
~GraphicsWatchlet();
QGraphicsScene* scene();
@@ -28,10 +28,10 @@ public:
QRectF sceneRect() const;
QRect viewportRect() const;
-protected:
void activate();
void deactivate();
+protected:
static const int frameDelay = 25;
static const int busyFrameDelay = 50;