diff options
Diffstat (limited to 'Swift/QtUI/QtIdleDetector.h')
-rw-r--r-- | Swift/QtUI/QtIdleDetector.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Swift/QtUI/QtIdleDetector.h b/Swift/QtUI/QtIdleDetector.h deleted file mode 100644 index 444fb15..0000000 --- a/Swift/QtUI/QtIdleDetector.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include "Swift/Controllers/IdleDetector.h" - -#include <QObject> -#include <QPoint> -#include <QTimer> -#include <QDateTime> - -namespace Swift { -class QtIdleDetector : public QObject, public IdleDetector { - Q_OBJECT - public: - QtIdleDetector(); - virtual ~QtIdleDetector(); - virtual void forceNotIdle(); - private slots: - void handleTimerTick(); - private: - QPoint lastPosition_; - QDateTime lastMoveTime_; - QTimer timer_; - bool signalled_; -}; -} |