diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:48:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 12:11:32 +0900 |
commit | ca120c61e6281a9f8b89be860a7e975b5384bd07 (patch) | |
tree | a904f22a6811c51d7b9f5e50ee53a1ebe4fed04b /libtdepim/addresseelineedit.cpp | |
parent | ddf896e8d22004797d141e221455cbdaa45b3f80 (diff) | |
download | tdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.tar.gz tdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libtdepim/addresseelineedit.cpp')
-rw-r--r-- | libtdepim/addresseelineedit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libtdepim/addresseelineedit.cpp b/libtdepim/addresseelineedit.cpp index 1af06c842..06efda39b 100644 --- a/libtdepim/addresseelineedit.cpp +++ b/libtdepim/addresseelineedit.cpp @@ -1037,7 +1037,7 @@ int KPIM::AddresseeLineEdit::addCompletionSource( const TQString &source, int we bool KPIM::AddresseeLineEdit::eventFilter(TQObject *obj, TQEvent *e) { - if ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(completionBox()) ) { + if ( obj == completionBox() ) { if ( e->type() == TQEvent::MouseButtonPress || e->type() == TQEvent::MouseMove || e->type() == TQEvent::MouseButtonRelease || @@ -1070,7 +1070,7 @@ bool KPIM::AddresseeLineEdit::eventFilter(TQObject *obj, TQEvent *e) } } } - if ( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) ) && + if ( ( obj == this ) && ( e->type() == TQEvent::AccelOverride ) ) { TQKeyEvent *ke = TQT_TQKEYEVENT( e ); if ( ke->key() == Key_Up || ke->key() == Key_Down || ke->key() == Key_Tab ) { @@ -1078,7 +1078,7 @@ bool KPIM::AddresseeLineEdit::eventFilter(TQObject *obj, TQEvent *e) return true; } } - if ( ( TQT_BASE_OBJECT(obj) == TQT_BASE_OBJECT(this) ) && + if ( ( obj == this ) && ( e->type() == TQEvent::KeyPress || e->type() == TQEvent::KeyRelease ) && completionBox()->isVisible() ) { TQKeyEvent *ke = TQT_TQKEYEVENT( e ); |