summaryrefslogtreecommitdiffstats
path: root/kmail/kmsystemtray.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r--kmail/kmsystemtray.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmsystemtray.cpp b/kmail/kmsystemtray.cpp
index 4c432a514..f75b53a07 100644
--- a/kmail/kmsystemtray.cpp
+++ b/kmail/kmsystemtray.cpp
@@ -111,13 +111,13 @@ void KMSystemTray::buildPopupMenu()
// Delete any previously created popup menu
delete mPopupMenu;
- mPopupMenu = new KPopupMenu();
+ mPopupMenu = new TDEPopupMenu();
KMMainWidget * mainWidget = kmkernel->getKMMainWidget();
if ( !mainWidget )
return;
mPopupMenu->insertTitle(*(this->pixmap()), "KMail");
- KAction * action;
+ TDEAction * action;
if ( ( action = mainWidget->action("check_mail") ) )
action->plug( mPopupMenu );
if ( ( action = mainWidget->action("check_mail_in") ) )
@@ -133,7 +133,7 @@ void KMSystemTray::buildPopupMenu()
action->plug( mPopupMenu );
mPopupMenu->insertSeparator();
- KMainWindow *mainWin = ::tqqt_cast<KMainWindow*>(kmkernel->getKMMainWidget()->topLevelWidget());
+ TDEMainWindow *mainWin = ::tqqt_cast<TDEMainWindow*>(kmkernel->getKMMainWidget()->topLevelWidget());
mPopupMenu->insertItem( SmallIcon("exit"), i18n("&Quit"), this, TQT_SLOT(maybeQuit()) );
}
@@ -320,7 +320,7 @@ void KMSystemTray::mousePressEvent(TQMouseEvent *e)
mPopupFolders.reserve( mFoldersWithUnread.count() );
// Rebuild popup menu at click time to minimize race condition if
- // the base KMainWidget is closed.
+ // the base TDEMainWidget is closed.
buildPopupMenu();
if(mNewMessagePopupId != -1)
@@ -330,7 +330,7 @@ void KMSystemTray::mousePressEvent(TQMouseEvent *e)
if(mFoldersWithUnread.count() > 0)
{
- KPopupMenu *newMessagesPopup = new KPopupMenu();
+ TDEPopupMenu *newMessagesPopup = new TDEPopupMenu();
TQMap<TQGuardedPtr<KMFolder>, int>::Iterator it = mFoldersWithUnread.begin();
for(uint i=0; it != mFoldersWithUnread.end(); ++i)