summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/mouse.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2013-11-21 01:24:32 +0100
committerSlávek Banko <[email protected]>2013-11-21 01:24:32 +0100
commitc4083c1d476f6dfd575599ffce4434e534251fd2 (patch)
treed4b1d6a3fc854da48e24e11d3dc69c0b0e971a60 /kcontrol/input/mouse.h
parent7d6186b592682b2a14c39b40a071f77d29fc8c7a (diff)
downloadtdebase-c4083c1d476f6dfd575599ffce4434e534251fd2.tar.gz
tdebase-c4083c1d476f6dfd575599ffce4434e534251fd2.zip
Add GUI control to test kcontrol mouse double-click setting
This resolves Bug 1324
Diffstat (limited to 'kcontrol/input/mouse.h')
-rw-r--r--kcontrol/input/mouse.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/kcontrol/input/mouse.h b/kcontrol/input/mouse.h
index 833ef3bdc..487ceb2db 100644
--- a/kcontrol/input/mouse.h
+++ b/kcontrol/input/mouse.h
@@ -37,6 +37,7 @@
#include <tqlcdnumber.h>
#include <tqpushbutton.h>
#include <tqradiobutton.h>
+#include <tqtimer.h>
#include <tdeapplication.h>
@@ -104,6 +105,8 @@ public:
private slots:
void slotClick();
+ void slotDoubleClickButtonPressed();
+ void slotDoubleClickTimerDone();
/** No descriptions */
void slotHandedChanged(int val);
void slotScrollPolarityChanged();
@@ -149,9 +152,10 @@ private:
KIntNumInput *mk_delay, *mk_interval, *mk_time_to_max, *mk_max_speed,
*mk_curve;
- TQLabel *doubleClickLabel;
+ TQLabel *doubleClickLabel;
TQPushButton *doubleClickButton;
-
+ TQTimer *doubleClickTimer;
+ bool doubleClickStatus;
};
#endif