diff options
Diffstat (limited to 'kopete/protocols/winpopup/wpaccount.cpp')
-rw-r--r-- | kopete/protocols/winpopup/wpaccount.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/winpopup/wpaccount.cpp b/kopete/protocols/winpopup/wpaccount.cpp index 994735cc..5d9d2a99 100644 --- a/kopete/protocols/winpopup/wpaccount.cpp +++ b/kopete/protocols/winpopup/wpaccount.cpp @@ -32,7 +32,7 @@ // Local Includes #include "wpaccount.h" -class KPopupMenu; +class TDEPopupMenu; WPAccount::WPAccount(WPProtocol *parent, const TQString &accountID, const char *name) : Kopete::Account(parent, accountID, name) @@ -153,23 +153,23 @@ void WPAccount::setAway(bool status, const TQString &awayMessage) myself()->setOnlineStatus(status ? mProtocol->WPAway : mProtocol->WPOnline); } -KActionMenu* WPAccount::actionMenu() +TDEActionMenu* WPAccount::actionMenu() { kdDebug(14170) << "WPAccount::actionMenu()" << endl; /// How to remove an action from Kopete::Account::actionMenu()? GF - KActionMenu *theActionMenu = new KActionMenu(accountId() , myself()->onlineStatus().iconFor(this), this); + TDEActionMenu *theActionMenu = new TDEActionMenu(accountId() , myself()->onlineStatus().iconFor(this), this); theActionMenu->popupMenu()->insertTitle(myself()->onlineStatus().iconFor(this), i18n("WinPopup (%1)").arg(accountId())); if (mProtocol) { - KAction *goOnline = new KAction("Online", TQIconSet(mProtocol->WPOnline.iconFor(this)), 0, + TDEAction *goOnline = new TDEAction("Online", TQIconSet(mProtocol->WPOnline.iconFor(this)), 0, this, TQT_SLOT(connect()), theActionMenu, "actionGoAvailable"); goOnline->setEnabled(isConnected() && isAway()); theActionMenu->insert(goOnline); - KAction *goAway = new KAction("Away", TQIconSet(mProtocol->WPAway.iconFor(this)), 0, + TDEAction *goAway = new TDEAction("Away", TQIconSet(mProtocol->WPAway.iconFor(this)), 0, this, TQT_SLOT(goAway()), theActionMenu, "actionGoAway"); goAway->setEnabled(isConnected() && !isAway()); theActionMenu->insert(goAway); @@ -177,7 +177,7 @@ KActionMenu* WPAccount::actionMenu() /// One can not really go offline manually - appears online as long as samba server is running. GF theActionMenu->popupMenu()->insertSeparator(); - theActionMenu->insert(new KAction(i18n("Properties"), 0, + theActionMenu->insert(new TDEAction(i18n("Properties"), 0, this, TQT_SLOT(editAccount()), theActionMenu, "actionAccountProperties")); } |