From cbf8e3ad49917dc71e8c5f6413c55f266c1c4ad3 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Sat, 3 Dec 2011 00:00:07 +0100 Subject: change the way buttons work in declarativewatchlets --- libsowatch/declarativewatchwrapper.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsowatch/declarativewatchwrapper.h') diff --git a/libsowatch/declarativewatchwrapper.h b/libsowatch/declarativewatchwrapper.h index 8d4fd7d..5a827ab 100644 --- a/libsowatch/declarativewatchwrapper.h +++ b/libsowatch/declarativewatchwrapper.h @@ -28,6 +28,7 @@ public: QList notifications() const; public slots: + void useButton(int button); void vibrate(int msecs); signals: @@ -41,6 +42,7 @@ private: WatchServer *_server; Watch* _watch; bool _active; + QSet _usedButtons; void activate(); void deactivate(); -- cgit v1.2.3