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 115c638e6..86dab4126 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 06fc89360..5afc9d811 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