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/msn/msnaccount.cpp | |
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/msn/msnaccount.cpp')
-rw-r--r-- | kopete/protocols/msn/msnaccount.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/msn/msnaccount.cpp b/kopete/protocols/msn/msnaccount.cpp index 39033752..30f8d477 100644 --- a/kopete/protocols/msn/msnaccount.cpp +++ b/kopete/protocols/msn/msnaccount.cpp @@ -80,9 +80,9 @@ MSNAccount::MSNAccount( MSNProtocol *parent, const TQString& AccountID, const ch TQObject::connect( Kopete::ContactList::self(), TQT_SIGNAL( globalIdentityChanged(const TQString&, const TQVariant& ) ), TQT_SLOT( slotGlobalIdentityChanged(const TQString&, const TQVariant& ) )); - m_openInboxAction = new KAction( i18n( "Open Inbo&x..." ), "mail_generic", 0, this, TQT_SLOT( slotOpenInbox() ), this, "m_openInboxAction" ); - m_changeDNAction = new KAction( i18n( "&Change Display Name..." ), TQString(), 0, this, TQT_SLOT( slotChangePublicName() ), this, "renameAction" ); - m_startChatAction = new KAction( i18n( "&Start Chat..." ), "mail_generic", 0, this, TQT_SLOT( slotStartChat() ), this, "startChatAction" ); + m_openInboxAction = new TDEAction( i18n( "Open Inbo&x..." ), "mail_generic", 0, this, TQT_SLOT( slotOpenInbox() ), this, "m_openInboxAction" ); + m_changeDNAction = new TDEAction( i18n( "&Change Display Name..." ), TQString(), 0, this, TQT_SLOT( slotChangePublicName() ), this, "renameAction" ); + m_startChatAction = new TDEAction( i18n( "&Start Chat..." ), "mail_generic", 0, this, TQT_SLOT( slotStartChat() ), this, "startChatAction" ); TDEConfigGroup *config=configGroup(); @@ -241,9 +241,9 @@ void MSNAccount::disconnect() m_notifySocket->disconnect(); } -KActionMenu * MSNAccount::actionMenu() +TDEActionMenu * MSNAccount::actionMenu() { - KActionMenu *m_actionMenu=Kopete::Account::actionMenu(); + TDEActionMenu *m_actionMenu=Kopete::Account::actionMenu(); if ( isConnected() ) { m_openInboxAction->setEnabled( true ); @@ -267,8 +267,8 @@ KActionMenu * MSNAccount::actionMenu() m_actionMenu->insert( m_openInboxAction ); #if !defined NDEBUG - KActionMenu *debugMenu = new KActionMenu( "Debug", m_actionMenu ); - debugMenu->insert( new KAction( i18n( "Send Raw C&ommand..." ), 0, + TDEActionMenu *debugMenu = new TDEActionMenu( "Debug", m_actionMenu ); + debugMenu->insert( new TDEAction( i18n( "Send Raw C&ommand..." ), 0, this, TQT_SLOT( slotDebugRawCommand() ), debugMenu, "m_debugRawCommand" ) ); m_actionMenu->popupMenu()->insertSeparator(); m_actionMenu->insert( debugMenu ); |