diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:03 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:03 -0600 |
commit | 9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch) | |
tree | 68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/protocols/sms | |
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/sms')
-rw-r--r-- | kopete/protocols/sms/smsaccount.cpp | 4 | ||||
-rw-r--r-- | kopete/protocols/sms/smsaccount.h | 4 | ||||
-rw-r--r-- | kopete/protocols/sms/smscontact.cpp | 6 | ||||
-rw-r--r-- | kopete/protocols/sms/smscontact.h | 8 | ||||
-rw-r--r-- | kopete/protocols/sms/smsprotocol.h | 4 |
5 files changed, 13 insertions, 13 deletions
diff --git a/kopete/protocols/sms/smsaccount.cpp b/kopete/protocols/sms/smsaccount.cpp index f3b8c35b..6e09bd11 100644 --- a/kopete/protocols/sms/smsaccount.cpp +++ b/kopete/protocols/sms/smsaccount.cpp @@ -178,9 +178,9 @@ bool SMSAccount::createContact( const TQString &contactId, return false; } -KActionMenu* SMSAccount::actionMenu() +TDEActionMenu* SMSAccount::actionMenu() { - KActionMenu *theActionMenu = Kopete::Account::actionMenu(); + TDEActionMenu *theActionMenu = Kopete::Account::actionMenu(); return theActionMenu; } diff --git a/kopete/protocols/sms/smsaccount.h b/kopete/protocols/sms/smsaccount.h index b543d191..ab5af0dc 100644 --- a/kopete/protocols/sms/smsaccount.h +++ b/kopete/protocols/sms/smsaccount.h @@ -19,7 +19,7 @@ #include "kopeteaccount.h" -class KActionMenu; +class TDEActionMenu; class SMSProtocol; class SMSContact; class SMSService; @@ -36,7 +36,7 @@ public: SMSAccount( SMSProtocol *parent, const TQString &accountID, const char *name = 0L ); ~SMSAccount(); - virtual KActionMenu* actionMenu(); // Per-protocol actions for the systray and the status bar + virtual TDEActionMenu* actionMenu(); // Per-protocol actions for the systray and the status bar virtual void setAway( bool away, const TQString & ); diff --git a/kopete/protocols/sms/smscontact.cpp b/kopete/protocols/sms/smscontact.cpp index d5980050..5e4c9cb4 100644 --- a/kopete/protocols/sms/smscontact.cpp +++ b/kopete/protocols/sms/smscontact.cpp @@ -119,11 +119,11 @@ void SMSContact::setPhoneNumber( const TQString phoneNumber ) new SMSContact(account(), phoneNumber, nickName(), metaContact()); } -TQPtrList<KAction>* SMSContact::customContextMenuActions() +TQPtrList<TDEAction>* SMSContact::customContextMenuActions() { - TQPtrList<KAction> *m_actionCollection = new TQPtrList<KAction>(); + TQPtrList<TDEAction> *m_actionCollection = new TQPtrList<TDEAction>(); if( !m_actionPrefs ) - m_actionPrefs = new KAction(i18n("&Contact Settings"), 0, this, TQT_SLOT(userPrefs()), this, "userPrefs"); + m_actionPrefs = new TDEAction(i18n("&Contact Settings"), 0, this, TQT_SLOT(userPrefs()), this, "userPrefs"); m_actionCollection->append( m_actionPrefs ); diff --git a/kopete/protocols/sms/smscontact.h b/kopete/protocols/sms/smscontact.h index 81d73bcd..4a3874fb 100644 --- a/kopete/protocols/sms/smscontact.h +++ b/kopete/protocols/sms/smscontact.h @@ -26,8 +26,8 @@ class SMSAccount; namespace Kopete { class ChatSession; } namespace Kopete { class MetaContact; } -class KActionCollection; -class KAction; +class TDEActionCollection; +class TDEAction; class SMSContact : public Kopete::Contact { @@ -37,7 +37,7 @@ public: SMSContact( Kopete::Account* _account, const TQString &phoneNumber, const TQString &displayName, Kopete::MetaContact *parent ); - TQPtrList<KAction>* customContextMenuActions(); + TQPtrList<TDEAction>* customContextMenuActions(); const TQString &phoneNumber(); void setPhoneNumber( const TQString phoneNumber ); @@ -62,7 +62,7 @@ private slots: void slotChatSessionDestroyed(); private: - KAction* m_actionPrefs; + TDEAction* m_actionPrefs; TQString m_phoneNumber; diff --git a/kopete/protocols/sms/smsprotocol.h b/kopete/protocols/sms/smsprotocol.h index e25c0a24..89912174 100644 --- a/kopete/protocols/sms/smsprotocol.h +++ b/kopete/protocols/sms/smsprotocol.h @@ -28,8 +28,8 @@ #include "kopeteonlinestatus.h" #include "kopetecontact.h" -class KAction; -class KActionMenu; +class TDEAction; +class TDEActionMenu; namespace Kopete { class Contact; } namespace Kopete { class MetaContact; } |