diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:48:49 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 19:12:33 +0900 |
| commit | 8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9 (patch) | |
| tree | 2a0d2f7cace40c019136ff68b73df43ad95ddf67 /kommander/editor/qcompletionedit.cpp | |
| parent | 19e527845958845e1fbd5b6d350e9d15c099f939 (diff) | |
| download | tdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.tar.gz tdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.zip | |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kommander/editor/qcompletionedit.cpp')
| -rw-r--r-- | kommander/editor/qcompletionedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kommander/editor/qcompletionedit.cpp b/kommander/editor/qcompletionedit.cpp index 6a7cb2a9..66c9663f 100644 --- a/kommander/editor/qcompletionedit.cpp +++ b/kommander/editor/qcompletionedit.cpp @@ -90,7 +90,7 @@ void QCompletionEdit::updateListBox() bool QCompletionEdit::eventFilter( TQObject *o, TQEvent *e ) { - if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(popup) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(listbox) || TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(listbox->viewport()) ) { + if ( o == popup || o == listbox || o == listbox->viewport() ) { if ( e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if ( ke->key() == Key_Enter || ke->key() == Key_Return || ke->key() == Key_Tab ) { @@ -133,7 +133,7 @@ bool QCompletionEdit::eventFilter( TQObject *o, TQEvent *e ) emit chosen( text() ); return true; } - } else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this) ) { + } else if ( o == this ) { if ( e->type() == TQEvent::KeyPress ) { TQKeyEvent *ke = (TQKeyEvent*)e; if ( ke->key() == Key_Up || |
