summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:01 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 16:31:28 +0900
commit829b015f6e55dafa7e4bedc6d456518db51bbe0d (patch)
tree58807ab2dc35549b3c2d3966c47fc61f1904e5fb /kmail
parentfab4aa3bdd0ee1f10a9c91af9a7e054c01df9312 (diff)
downloadtdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.tar.gz
tdepim-829b015f6e55dafa7e4bedc6d456518db51bbe0d.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ca120c61e6281a9f8b89be860a7e975b5384bd07)
Diffstat (limited to 'kmail')
-rw-r--r--kmail/headerlistquicksearch.cpp2
-rw-r--r--kmail/kmedit.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmail/headerlistquicksearch.cpp b/kmail/headerlistquicksearch.cpp
index eeb8d797f..86027863d 100644
--- a/kmail/headerlistquicksearch.cpp
+++ b/kmail/headerlistquicksearch.cpp
@@ -112,7 +112,7 @@ HeaderListQuickSearch::~HeaderListQuickSearch()
bool HeaderListQuickSearch::eventFilter( TQObject *watched, TQEvent *event )
{
- if ( TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(mStatusCombo) ) {
+ if ( watched == mStatusCombo ) {
KMMainWidget *mainWidget = 0;
// Travel up the parents list until we find the main widget
diff --git a/kmail/kmedit.cpp b/kmail/kmedit.cpp
index 1fe546481..62cbf6d5a 100644
--- a/kmail/kmedit.cpp
+++ b/kmail/kmedit.cpp
@@ -412,7 +412,7 @@ void KMEdit::spellerReady( KSpell *spell )
bool KMEdit::eventFilter(TQObject*o, TQEvent* e)
{
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this))
+ if (o == this)
KCursor::autoHideEventFilter(o, e);
if (e->type() == TQEvent::KeyPress)