summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/function_keyboard.h
authorhash <hash>2002-10-22 16:01:27 (UTC)
committer hash <hash>2002-10-22 16:01:27 (UTC)
commit6843a1bd8f8e679c220431f8377abcd2ffd2019b (patch) (side-by-side diff)
treecec84037b60d0ae1e69c69a21e6da2dea3aaf5b6 /noncore/apps/opie-console/function_keyboard.h
parentdca783a6564d7d0d8c857cef8586167bc0609647 (diff)
downloadopie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.zip
opie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.tar.gz
opie-6843a1bd8f8e679c220431f8377abcd2ffd2019b.tar.bz2
cant figure out why modifying a private var in FunctionKeyboardConfig causes it to segfault.
Diffstat (limited to 'noncore/apps/opie-console/function_keyboard.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/function_keyboard.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/function_keyboard.h b/noncore/apps/opie-console/function_keyboard.h
index 2be74b4..efeff6d 100644
--- a/noncore/apps/opie-console/function_keyboard.h
+++ b/noncore/apps/opie-console/function_keyboard.h
@@ -7,8 +7,11 @@
#include <qvbox.h>
#include <qgroupbox.h>
#include <qmap.h>
+#include <qspinbox.h>
+#include <qcombobox.h>
#include "profiledialogwidget.h"
+
class FKey {
public:
@@ -35,6 +38,9 @@ public:
FunctionKeyboard(QWidget *parent = 0);
~FunctionKeyboard();
+ void changeRows(int);
+ void changeCols(int);
+
void paintEvent(QPaintEvent *);
void paintKey(int, int);
void mousePressEvent(QMouseEvent*);
@@ -44,7 +50,7 @@ public:
signals:
- void keyPressed(ushort, ushort, bool, bool, bool);
+ void keyPressed(ushort, ushort, bool, bool, bool, ushort, ushort);
private:
@@ -76,8 +82,19 @@ public:
void load(const Profile&);
void save(Profile&);
+private slots:
+
+ void slotKeyPressed(ushort, ushort, bool, bool, bool, ushort, ushort);
+ void slotChangeRows(int);
+ void slotChangeCols(int);
+ void slotChangeIcon(int);
+
private:
+ FunctionKeyboard *kb;
+ QSpinBox *m_rowBox, *m_colBox;
+ QComboBox *m_labels;
+
};
#endif