summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/spinbox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 20:43:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 23:46:05 +0900
commit5761876d3a71e9b3c5a93b5b535b071d2240b08e (patch)
tree0ea383b7af28380ecec4a4059b1ed0bdcdbe8338 /lib/koproperty/editors/spinbox.cpp
parent2891d3c2d54dea1e2dd2a6702ee209b6f01f73f4 (diff)
downloadkoffice-5761876d.tar.gz
koffice-5761876d.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d7ae9fb514226c126e04cfe4f34800beb9f4ea19)
Diffstat (limited to 'lib/koproperty/editors/spinbox.cpp')
-rw-r--r--lib/koproperty/editors/spinbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/koproperty/editors/spinbox.cpp b/lib/koproperty/editors/spinbox.cpp
index e76ca930d..81f0c1cb7 100644
--- a/lib/koproperty/editors/spinbox.cpp
+++ b/lib/koproperty/editors/spinbox.cpp
@@ -63,7 +63,7 @@ IntSpinBox::eventFilter(TQObject *o, TQEvent *e)
{
if(e->type() == TQEvent::KeyPress)
{
- TQKeyEvent* ev = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ev = static_cast<TQKeyEvent*>(e);
if((ev->key()==Key_Up || ev->key()==Key_Down) && ev->state() !=ControlButton)
{
parentWidget()->eventFilter(o, e);
@@ -196,7 +196,7 @@ DoubleSpinBox::eventFilter(TQObject *o, TQEvent *e)
{
if(e->type() == TQEvent::KeyPress)
{
- TQKeyEvent* ev = TQT_TQKEYEVENT(e);
+ TQKeyEvent* ev = static_cast<TQKeyEvent*>(e);
if((ev->key()==Key_Up || ev->key()==Key_Down) && ev->state()!=ControlButton)
{
parentWidget()->eventFilter(o, e);