summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexicomboboxpopup.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-30 20:43:20 +0900
committerMichele Calgaro <[email protected]>2023-11-30 23:46:05 +0900
commit5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch)
tree0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /kexi/widget/tableview/kexicomboboxpopup.cpp
parent2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff)
downloadkoffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.tar.gz
koffice-5761876d3a71e9b3c5a93b5b535b071d2240b08e.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'kexi/widget/tableview/kexicomboboxpopup.cpp')
-rw-r--r--kexi/widget/tableview/kexicomboboxpopup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/widget/tableview/kexicomboboxpopup.cpp b/kexi/widget/tableview/kexicomboboxpopup.cpp
index dfd6edb4..6877bd78 100644
--- a/kexi/widget/tableview/kexicomboboxpopup.cpp
+++ b/kexi/widget/tableview/kexicomboboxpopup.cpp
@@ -351,7 +351,7 @@ bool KexiComboBoxPopup::eventFilter( TQObject *o, TQEvent *e )
}
else if (o==d->tv) {
if (e->type()==TQEvent::KeyPress) {
- TQKeyEvent *ke = TQT_TQKEYEVENT(e);
+ TQKeyEvent *ke = static_cast<TQKeyEvent*>(e);
const int k = ke->key();
if ((ke->state()==TQt::NoButton && (k==Key_Escape || k==Key_F4))
|| (ke->state()==AltButton && k==Key_Up))