diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:14:03 -0600 |
commit | 9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch) | |
tree | 68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/protocols/meanwhile | |
parent | 2e53bd0b77676f879fad7baeecea5879bf496a7d (diff) | |
download | tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kopete/protocols/meanwhile')
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileaccount.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileaccount.h | 2 | ||||
-rw-r--r-- | kopete/protocols/meanwhile/meanwhilecontact.h | 4 | ||||
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileplugin.cpp | 2 | ||||
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileplugin.h | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileaccount.cpp b/kopete/protocols/meanwhile/meanwhileaccount.cpp index dc66a0cf..91635c91 100644 --- a/kopete/protocols/meanwhile/meanwhileaccount.cpp +++ b/kopete/protocols/meanwhile/meanwhileaccount.cpp @@ -131,14 +131,14 @@ void MeanwhileAccount::disconnect(Kopete::Account::DisconnectReason reason) m_session = 0L; } -KActionMenu * MeanwhileAccount::actionMenu() +TDEActionMenu * MeanwhileAccount::actionMenu() { - KActionMenu *menu = Kopete::Account::actionMenu(); + TDEActionMenu *menu = Kopete::Account::actionMenu(); menu->popupMenu()->insertSeparator(); #if 0 - menu->insert(new KAction(i18n("&Change Status Message"), TQString(), 0, + menu->insert(new TDEAction(i18n("&Change Status Message"), TQString(), 0, this, TQT_SLOT(meanwhileChangeStatus()), this, "meanwhileChangeStatus")); //infoPlugin->addCustomMenus(theMenu); diff --git a/kopete/protocols/meanwhile/meanwhileaccount.h b/kopete/protocols/meanwhile/meanwhileaccount.h index cb9ac083..2e476d78 100644 --- a/kopete/protocols/meanwhile/meanwhileaccount.h +++ b/kopete/protocols/meanwhile/meanwhileaccount.h @@ -52,7 +52,7 @@ public: virtual void disconnect(Kopete::Account::DisconnectReason reason); - virtual KActionMenu *actionMenu(); + virtual TDEActionMenu *actionMenu(); /** Get the server host name */ TQString getServerName(); diff --git a/kopete/protocols/meanwhile/meanwhilecontact.h b/kopete/protocols/meanwhile/meanwhilecontact.h index 5c92ebb8..6de9261e 100644 --- a/kopete/protocols/meanwhile/meanwhilecontact.h +++ b/kopete/protocols/meanwhile/meanwhilecontact.h @@ -22,8 +22,8 @@ #include "kopetemessage.h" #include "meanwhileaccount.h" -class KAction; -class KActionCollection; +class TDEAction; +class TDEActionCollection; namespace Kopete { class Account; } namespace Kopete { class ChatSession; } namespace Kopete { class MetaContact; } diff --git a/kopete/protocols/meanwhile/meanwhileplugin.cpp b/kopete/protocols/meanwhile/meanwhileplugin.cpp index 4ee995dd..160a9d9f 100644 --- a/kopete/protocols/meanwhile/meanwhileplugin.cpp +++ b/kopete/protocols/meanwhile/meanwhileplugin.cpp @@ -32,6 +32,6 @@ void MeanwhilePlugin::showUserInfo(const TQString &/*userid*/) { } -void MeanwhilePlugin::addCustomMenus(KActionMenu *menu) +void MeanwhilePlugin::addCustomMenus(TDEActionMenu *menu) { } diff --git a/kopete/protocols/meanwhile/meanwhileplugin.h b/kopete/protocols/meanwhile/meanwhileplugin.h index 072ffc08..c11a2b2f 100644 --- a/kopete/protocols/meanwhile/meanwhileplugin.h +++ b/kopete/protocols/meanwhile/meanwhileplugin.h @@ -41,7 +41,7 @@ public: /* if you want to provide more functions on the rightclick dropdown * menu...implement this */ - virtual void addCustomMenus(KActionMenu *menu); + virtual void addCustomMenus(TDEActionMenu *menu); }; #endif |