From abdf3b1eaba8151f1b8e862750c38cb7a5411d2a Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Mon, 13 Aug 2012 21:31:52 +0200 Subject: make watchsimulator work again --- libsowatch/graphicswatchlet.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libsowatch/graphicswatchlet.h') diff --git a/libsowatch/graphicswatchlet.h b/libsowatch/graphicswatchlet.h index 6456a18..34f69cb 100644 --- a/libsowatch/graphicswatchlet.h +++ b/libsowatch/graphicswatchlet.h @@ -20,13 +20,16 @@ public: QGraphicsScene* scene(); void setScene(QGraphicsScene* scene); - static const int frameDelay = 25; - static const int busyFrameDelay = 50; + QRectF sceneRect() const; + QRect viewportRect() const; protected: void activate(); void deactivate(); + static const int frameDelay = 25; + static const int busyFrameDelay = 50; + QGraphicsScene* _scene; QTimer _frameTimer; -- cgit v1.2.3