diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 20:43:20 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-30 21:03:28 +0900 |
| commit | d7ae9fb514226c126e04cfe4f34800beb9f4ea19 (patch) | |
| tree | 4d12f786f3541b9ff0225f0ceb2bec0b9268a163 /lib/koproperty/editors/spinbox.cpp | |
| parent | b727f4b3b1957bec28a350575237b93f8f278cdb (diff) | |
| download | koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.tar.gz koffice-d7ae9fb514226c126e04cfe4f34800beb9f4ea19.zip | |
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/koproperty/editors/spinbox.cpp')
| -rw-r--r-- | lib/koproperty/editors/spinbox.cpp | 4 |
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); |
