summaryrefslogtreecommitdiffstats
path: root/src/VButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VButton.h')
-rw-r--r--src/VButton.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/VButton.h b/src/VButton.h
index 7f04fd0..2f916ff 100644
--- a/src/VButton.h
+++ b/src/VButton.h
@@ -11,15 +11,17 @@ Q_OBJECT
public:
VButton(TQWidget *parent=0, const char *name=0);
~VButton();
- void setKeyCode(unsigned int keycode);
+
unsigned int getKeyCode();
- void setText(const TQString& text);
- void setShiftText(const TQString& text);
+ void setKeyCode(unsigned int keycode);
+ void setText(const TQString &text);
+ void setShiftText(const TQString &text);
+ void setColor(const TQColor &color);
void capsPressed(bool press);
-
-
+
void reposition(int width, int height);
void res();
+
static double pw;
static double ph;
@@ -32,7 +34,8 @@ protected:
TQString u;
TQString l;
TQRect orig_size;
- void timerEvent ( TQTimerEvent * );
+
+ void timerEvent ( TQTimerEvent * );
public slots:
void sendKey();
@@ -44,7 +47,6 @@ protected slots:
signals:
void keyClick(unsigned int keycode);
-
};
#endif