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 12:11:32 +0900
commitca120c61e6281a9f8b89be860a7e975b5384bd07 (patch)
treea904f22a6811c51d7b9f5e50ee53a1ebe4fed04b /kmail
parentddf896e8d22004797d141e221455cbdaa45b3f80 (diff)
downloadtdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.tar.gz
tdepim-ca120c61e6281a9f8b89be860a7e975b5384bd07.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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)