summaryrefslogtreecommitdiffstats
path: root/src/common/gui/hexword_gui.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:42:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:42:04 +0900
commitcda5b603bcae56e1e6d49ebbcefa6dbe89b8190c (patch)
tree7d74459181451f87c00378514ea980bc905b9dd8 /src/common/gui/hexword_gui.cpp
parent753b5724e1fdbfb87852395722717a9c1643baa3 (diff)
downloadpiklab-cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c.tar.gz
piklab-cda5b603bcae56e1e6d49ebbcefa6dbe89b8190c.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/common/gui/hexword_gui.cpp')
-rw-r--r--src/common/gui/hexword_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/gui/hexword_gui.cpp b/src/common/gui/hexword_gui.cpp
index d6ee42f..9a2a8ea 100644
--- a/src/common/gui/hexword_gui.cpp
+++ b/src/common/gui/hexword_gui.cpp
@@ -84,7 +84,7 @@ bool GenericHexWordEditor::event(TQEvent *e)
TQTimer::singleShot(0, this, TQT_SLOT(selectAll())); // ugly but it works
break;
case TQEvent::KeyPress:
- switch ( TQT_TQKEYEVENT(e)->key() ) {
+ switch ( static_cast<TQKeyEvent*>(e)->key() ) {
case Key_Next:
emit moveNextPage();
return true;