From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kopete/protocols/irc/ircaccount.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kopete/protocols/irc/ircaccount.cpp') 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 ) ); } -- cgit v1.2.1