summaryrefslogtreecommitdiffstats
path: root/kmail/kmheaders.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmheaders.cpp')
-rw-r--r--kmail/kmheaders.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/kmheaders.cpp b/kmail/kmheaders.cpp
index 116b2e575..66231ae26 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() == Qt::RightButton &&
+ TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton &&
o->isA("TQHeader") )
{
// if we currently only show one of either sender/receiver column
@@ -2332,12 +2332,12 @@ void KMHeaders::contentsMousePressEvent(TQMouseEvent* e)
if ( e->state() & ControlButton )
setSelected( lvi, !wasSelected );
- if ((e->button() == Qt::LeftButton) )
+ if ((e->button() == TQt::LeftButton) )
mMousePressed = true;
}
// check if we are on a status column and toggle it
- if ( lvi && e->button() == Qt::LeftButton && !( e->state() & (ShiftButton | ControlButton | AltButton | MetaButton) ) ) {
+ if ( lvi && e->button() == TQt::LeftButton && !( e->state() & (ShiftButton | ControlButton | AltButton | MetaButton) ) ) {
bool flagsToggleable = GlobalSettings::self()->allowLocalFlags() || !(mFolder ? mFolder->isReadOnly() : true);
int section = header()->sectionAt( e->pos().x() );
HeaderItem *item = static_cast<HeaderItem*>( lvi );
@@ -2365,7 +2365,7 @@ void KMHeaders::contentsMousePressEvent(TQMouseEvent* e)
//-----------------------------------------------------------------------------
void KMHeaders::contentsMouseReleaseEvent(TQMouseEvent* e)
{
- if (e->button() != Qt::RightButton)
+ if (e->button() != TQt::RightButton)
TDEListView::contentsMouseReleaseEvent(e);
mMousePressed = false;