diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/kmsystemtray.cpp | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/kmsystemtray.cpp')
-rw-r--r-- | kmail/kmsystemtray.cpp | 10 |
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) |