diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2011-09-17 03:03:23 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2011-09-17 03:03:23 +0200 |
commit | 3a755f46d9cf6e3650d40a960d0d0db8c1ad9fa1 (patch) | |
tree | f330f63caec08b6626c808b5ae70c64cab0246a6 /libsowatch/testwatchlet.h | |
parent | 0dca79a8c15b76ca53617c0ed3396ab6435f0152 (diff) | |
download | sowatch-3a755f46d9cf6e3650d40a960d0d0db8c1ad9fa1.tar.gz sowatch-3a755f46d9cf6e3650d40a960d0d0db8c1ad9fa1.zip |
preparing for library package
Diffstat (limited to 'libsowatch/testwatchlet.h')
-rw-r--r-- | libsowatch/testwatchlet.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libsowatch/testwatchlet.h b/libsowatch/testwatchlet.h new file mode 100644 index 0000000..caa68da --- /dev/null +++ b/libsowatch/testwatchlet.h @@ -0,0 +1,29 @@ +#ifndef TESTWATCHLET_H +#define TESTWATCHLET_H + +#include <QtCore/QTimer> +#include "watchlet.h" + +namespace sowatch +{ + +class TestWatchlet : public Watchlet +{ + Q_OBJECT +public: + explicit TestWatchlet(WatchServer* server); + +protected slots: + void interv(); + void handleActivated(); + void handleDeactivated(); + +private: + QTimer *_timer; + int _y; + +}; + +} + +#endif // TESTWATCHLET_H |