From 30555507108fe0b2b3f9ded9de37f38d4a1d9c50 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:31:57 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro --- kmail/kmfoldertree.cpp | 2 +- kmail/kmheaders.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kmail') diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp index e73b69a7..b683980e 100644 --- a/kmail/kmfoldertree.cpp +++ b/kmail/kmfoldertree.cpp @@ -1754,7 +1754,7 @@ bool KMFolderTree::eventFilter( TQObject *o, TQEvent *e ) { if ( e->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton && - o->isA(TQHEADER_OBJECT_NAME_STRING) ) + o->isA("TQHeader") ) { mPopup->popup( TQT_TQMOUSEEVENT(e)->globalPos() ); return true; diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp index 1b29fd29..14419a17 100644 --- a/kmail/kmheaders.cpp +++ b/kmail/kmheaders.cpp @@ -236,7 +236,7 @@ bool KMHeaders::eventFilter ( TQObject *o, TQEvent *e ) { if ( e->type() == TQEvent::MouseButtonPress && TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton && - o->isA(TQHEADER_OBJECT_NAME_STRING) ) + o->isA("TQHeader") ) { // if we currently only show one of either sender/receiver column // modify the popup text in the way, that it displays the text of the other of the two -- cgit v1.2.3