diff options
author | Adriano Rezende <adriano.rezende@openbossa.org> | 2009-11-05 14:22:57 -0300 |
---|---|---|
committer | Adriano Rezende <adriano.rezende@openbossa.org> | 2009-11-16 10:34:52 -0300 |
commit | 4b9fde1c74fd657e3edc6720d9e34f0bb8938157 (patch) | |
tree | 7de7cd0330e083d9af36fcd4b43ff19b37196880 | |
parent | 3517085f8fd79262a5730db2d073d385d0795998 (diff) |
HyperUI: Moved button attributes to private section
-rw-r--r-- | hyperui/button.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hyperui/button.h b/hyperui/button.h index f857636..6b023cc 100644 --- a/hyperui/button.h +++ b/hyperui/button.h @@ -60,14 +60,15 @@ signals: void released(); protected: + void mousePressEvent(QGraphicsSceneMouseEvent *e); + void mouseReleaseEvent(QGraphicsSceneMouseEvent *e); + +private: QString m_text; bool m_isPressed; QPixmap m_normalPixmap; QPixmap m_pressedPixmap; QPixmap m_disabledPixmap; - - void mousePressEvent(QGraphicsSceneMouseEvent *e); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *e); }; #endif |