summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ircaccount.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/protocols/irc/ircaccount.cpp
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kopete/protocols/irc/ircaccount.cpp')
-rw-r--r--kopete/protocols/irc/ircaccount.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/irc/ircaccount.cpp b/kopete/protocols/irc/ircaccount.cpp
index 7daf2f8d..3c8c5b85 100644
--- a/kopete/protocols/irc/ircaccount.cpp
+++ b/kopete/protocols/irc/ircaccount.cpp
@@ -207,9 +207,9 @@ IRCAccount::IRCAccount(IRCProtocol *protocol, const TQString &accountId, const T
setAccountLabel( TQString::fromLatin1("%1@%2").arg(mNickName,networkName) );
m_myServer = m_contactManager->myServer();
- m_joinChannelAction = new KAction ( i18n("Join Channel..."), TQString(), 0, this,
+ m_joinChannelAction = new TDEAction ( i18n("Join Channel..."), TQString(), 0, this,
TQT_SLOT(slotJoinChannel()), this);
- m_searchChannelAction = new KAction ( i18n("Search Channels..."), TQString(), 0, this,
+ m_searchChannelAction = new TDEAction ( i18n("Search Channels..."), TQString(), 0, this,
TQT_SLOT(slotSearchChannels()), this);
}
@@ -414,11 +414,11 @@ void IRCAccount::setMessageDestinations( int serverNotices, int serverMessages,
m_errorMessages = (MessageDestination)errorMessages;
}
-KActionMenu *IRCAccount::actionMenu()
+TDEActionMenu *IRCAccount::actionMenu()
{
TQString menuTitle = TQString::fromLatin1( " %1 <%2> " ).arg( accountId() ).arg( myself()->onlineStatus().description() );
- KActionMenu *mActionMenu = Kopete::Account::actionMenu();
+ TDEActionMenu *mActionMenu = Kopete::Account::actionMenu();
m_joinChannelAction->setEnabled( isConnected() );
m_searchChannelAction->setEnabled( isConnected() );
@@ -426,11 +426,11 @@ KActionMenu *IRCAccount::actionMenu()
mActionMenu->popupMenu()->insertSeparator();
mActionMenu->insert(m_joinChannelAction);
mActionMenu->insert(m_searchChannelAction);
- mActionMenu->insert( new KAction ( i18n("Show Server Window"), TQString(), 0, this, TQT_SLOT(slotShowServerWindow()), mActionMenu ) );
+ mActionMenu->insert( new TDEAction ( i18n("Show Server Window"), TQString(), 0, this, TQT_SLOT(slotShowServerWindow()), mActionMenu ) );
if( m_engine->isConnected() && m_engine->useSSL() )
{
- mActionMenu->insert( new KAction ( i18n("Show Security Information"), "", 0, m_engine,
+ mActionMenu->insert( new TDEAction ( i18n("Show Security Information"), "", 0, m_engine,
TQT_SLOT(showInfoDialog()), mActionMenu ) );
}