diff options
Diffstat (limited to 'src/VButton.h')
-rw-r--r-- | src/VButton.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/VButton.h b/src/VButton.h index 2f916ff..cab13cd 100644 --- a/src/VButton.h +++ b/src/VButton.h @@ -17,7 +17,6 @@ public: 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(); @@ -28,6 +27,7 @@ public: private: bool press; bool inrpt; + bool inside; protected: unsigned int keycode; @@ -42,6 +42,8 @@ public slots: void shiftPressed(bool press); protected slots: + void enterEvent(TQEvent *e); + void leaveEvent(TQEvent *e); void mousePressEvent(TQMouseEvent *e); void mouseReleaseEvent(TQMouseEvent *e); |