summaryrefslogtreecommitdiffstats
path: root/kmail/kmsystemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r--kmail/kmsystemtray.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp
index 3a5840a85..a066fc86e 100644
--- a/kmail/kmsystemtray.cpp
+++ b/kmail/kmsystemtray.cpp
@@ -133,7 +133,7 @@ void KMSystemTray::buildPopupMenu()
action->plug( mPopupMenu );
mPopupMenu->insertSeparator();
- KMainWindow *mainWin = ::qt_cast<KMainWindow*>(kmkernel->getKMMainWidget()->tqtopLevelWidget());
+ KMainWindow *mainWin = ::tqqt_cast<KMainWindow*>(kmkernel->getKMMainWidget()->tqtopLevelWidget());
mPopupMenu->insertItem( SmallIcon("exit"), i18n("&Quit"), this, TQT_SLOT(maybeQuit()) );
}
@@ -305,7 +305,7 @@ void KMSystemTray::foldersChanged()
void KMSystemTray::mousePressEvent(TQMouseEvent *e)
{
// switch to kmail on left mouse button
- if( e->button() == LeftButton )
+ if( e->button() == Qt::LeftButton )
{
if( mParentVisible && mainWindowIsOnCurrentDesktop() )
hideKMail();
@@ -314,7 +314,7 @@ void KMSystemTray::mousePressEvent(TQMouseEvent *e)
}
// open popup menu on right mouse button
- if( e->button() == RightButton )
+ if( e->button() == Qt::RightButton )
{
mPopupFolders.clear();
mPopupFolders.reserve( mFoldersWithUnread.count() );