blob: 36e0350ae2bcc38024fe06a76c97527e43c04424 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/****************************************************************************
KHotKeys
Copyright (C) 2003 Mike Pilone <[email protected]>
Copyright (C) 2003 Lubos Lunak <[email protected]>
Distributed under the terms of the GNU General Public License version 2.
****************************************************************************/
#ifndef GESTURE_RECORD_PAGE_H
#define GESTURE_RECORD_PAGE_H
#include <tqvbox.h>
#include "gesturedrawer.h"
class TQWidget;
class TQPushButton;
class TQLabel;
namespace KHotKeys
{
class Gesture;
class GestureRecorder;
class GestureRecordPage : public QVBox
{
Q_OBJECT
public:
GestureRecordPage(const TQString &gesture,
TQWidget *parent, const char *name);
~GestureRecordPage();
const TQString &getGesture() const { return _gest; }
protected slots:
void slotRecorded(const TQString &data);
void slotResetClicked();
signals:
void gestureRecorded(bool);
private:
GestureRecorder *_recorder;
TQPushButton *_resetButton;
GestureDrawer *_tryOne;
GestureDrawer *_tryTwo;
GestureDrawer *_tryThree;
TQString _gest;
TQ_UINT32 _tryCount;
};
} // namespace KHotKeys
#endif
|