summaryrefslogtreecommitdiffstats
path: root/kmail
diff options
context:
space:
mode:
Diffstat (limited to 'kmail')
-rw-r--r--kmail/kmfoldertree.cpp2
-rw-r--r--kmail/kmheaders.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 115c638e..86dab412 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 &&
static_cast<TQMouseEvent*>(e)->button() == RightButton &&
- o->isA("TQHeader") )
+ o->isA(TQHEADER_OBJECT_NAME_STRING) )
{
mPopup->popup( static_cast<TQMouseEvent*>(e)->globalPos() );
return true;
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index 06fc8936..5afc9d81 100644
--- a/kmail/kmheaders.cpp
+++ b/kmail/kmheaders.cpp
@@ -237,7 +237,7 @@ bool KMHeaders::eventFilter ( TQObject *o, TQEvent *e )
{
if ( e->type() == TQEvent::MouseButtonPress &&
static_cast<TQMouseEvent*>(e)->button() == RightButton &&
- o->isA("TQHeader") )
+ o->isA(TQHEADER_OBJECT_NAME_STRING) )
{
// 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