diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:48:01 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 16:31:28 +0900 |
commit | 829b015f6e55dafa7e4bedc6d456518db51bbe0d (patch) | |
tree | 58807ab2dc35549b3c2d3966c47fc61f1904e5fb /libtdepim/addresseelineedit.cpp | |
parent | fab4aa3bdd0ee1f10a9c91af9a7e054c01df9312 (diff) | |
download | tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.tar.gz tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit ca120c61e6281a9f8b89be860a7e975b5384bd07)
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 ); |