1 #ifndef FINGERMANAGERWINDOW_H_
2 #define FINGERMANAGERWINDOW_H_
11 #include <QButtonGroup>
13 #include <QHBoxLayout>
14 #include <QVBoxLayout>
21 #include "FMDbusConn.h"
23 #define MAX_FINGERS 10
30 class FingerManagerWindow
: public KCModule
{
35 void fingerSelected(int finger
);
36 void deviceChanged(int idx
);
43 QCheckBox
*fingers
[MAX_FINGERS
];
46 QHBoxLayout
*handsLayout
;
47 QVBoxLayout
*mainPanelLayout
;
48 QVBoxLayout
*mainLayout
;
49 QHBoxLayout
*devicesLayout
;
50 KPushButton
*deleteAllBtn
;
52 KSeparator
*separator
;
58 QCheckBox
* createCheckBox(int idx
, int x
, int y
);
59 void initComponents();
60 void loadConfig(KConfig
*config
);
62 void processFingers(QStringList fngrs
);
63 void enableAllFingers(bool enable
);
65 FingerManagerWindow(QWidget
*parent
, const QVariantList
&);
66 ~FingerManagerWindow();
69 #endif /*FINGERMANAGERWINDOW_H_*/