diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeui/tdecompletionbox.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeui/tdecompletionbox.cpp')
-rw-r--r-- | tdeui/tdecompletionbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdecompletionbox.cpp b/tdeui/tdecompletionbox.cpp index 3f2dfa987..62ca3130e 100644 --- a/tdeui/tdecompletionbox.cpp +++ b/tdeui/tdecompletionbox.cpp @@ -115,7 +115,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) TQKeyEvent *ev = TQT_TQKEYEVENT( e ); switch ( ev->key() ) { case Key_BackTab: - if ( d->tabHandling && (ev->state() == Qt::NoButton || + if ( d->tabHandling && (ev->state() == TQt::NoButton || (ev->state() & ShiftButton)) ) { up(); ev->accept(); @@ -123,7 +123,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) } break; case Key_Tab: - if ( d->tabHandling && (ev->state() == Qt::NoButton) ) { + if ( d->tabHandling && (ev->state() == TQt::NoButton) ) { down(); // Only on TAB!! ev->accept(); return true; @@ -199,7 +199,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) break; case Key_Tab: case Key_BackTab: - if ( ev->state() == Qt::NoButton || + if ( ev->state() == TQt::NoButton || (ev->state() & ShiftButton)) { ev->accept(); |