diff options
author | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-15 19:22:04 +0200 |
---|---|---|
committer | Jonas Suhr Christensen <jsc@umbraculum.org> | 2013-05-15 19:22:04 +0200 |
commit | 25d2663dc4008127dad965cca5712a4faac66a10 (patch) | |
tree | fbbc292a486128fe7f53f8665542b9a5c566bc60 /plugingui/lineedit.h | |
parent | 976ce209938be1bfc088d5f6cdd523a4089e1dd0 (diff) |
fix.
Diffstat (limited to 'plugingui/lineedit.h')
-rw-r--r-- | plugingui/lineedit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugingui/lineedit.h b/plugingui/lineedit.h index a159d75..2c37522 100644 --- a/plugingui/lineedit.h +++ b/plugingui/lineedit.h @@ -48,6 +48,8 @@ public: void setReadOnly(bool readonly); bool readOnly(); + void registerEnterPressedHandler(void (*handler)(void *), void *ptr); + //protected: virtual void keyEvent(KeyEvent *e); virtual void repaintEvent(RepaintEvent *e); @@ -65,6 +67,9 @@ private: size_t pos; bool readonly; + + void (*handler)(void *); + void *ptr; }; }; |