summaryrefslogtreecommitdiffstats
path: root/src/VButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/VButton.h')
-rw-r--r--src/VButton.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/VButton.h b/src/VButton.h
index cab13cd..349b403 100644
--- a/src/VButton.h
+++ b/src/VButton.h
@@ -24,22 +24,21 @@ public:
static double pw;
static double ph;
-private:
+protected:
bool press;
bool inrpt;
bool inside;
-
-protected:
+ bool isAlpha;
unsigned int keycode;
- TQString u;
- TQString l;
+ TQString lowerText;
+ TQString shiftText;
TQRect orig_size;
void timerEvent ( TQTimerEvent * );
public slots:
void sendKey();
- void shiftPressed(bool press);
+ void shiftCapsPressed(bool shift, bool caps);
protected slots:
void enterEvent(TQEvent *e);