summaryrefslogtreecommitdiffstats
path: root/kmail/kmheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmheaders.cpp')
-rw-r--r--kmail/kmheaders.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index 66231ae26..eaf045b46 100644
--- a/kmail/kmheaders.cpp
+++ b/kmail/kmheaders.cpp
@@ -235,7 +235,7 @@ KMHeaders::~KMHeaders ()
bool KMHeaders::eventFilter ( TQObject *o, TQEvent *e )
{
if ( e->type() == TQEvent::MouseButtonPress &&
- TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton &&
+ static_cast<TQMouseEvent*>(e)->button() == TQt::RightButton &&
o->isA("TQHeader") )
{
// if we currently only show one of either sender/receiver column
@@ -248,7 +248,7 @@ bool KMHeaders::eventFilter ( TQObject *o, TQEvent *e )
else
mPopup->changeItem(KPaintInfo::COL_RECEIVER, i18n("Receiver"));
- mPopup->popup( TQT_TQMOUSEEVENT(e)->globalPos() );
+ mPopup->popup( static_cast<TQMouseEvent*>(e)->globalPos() );
return true;
}
return TDEListView::eventFilter(o, e);