summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/yahoo/yahooconferencemessagemanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/yahoo/yahooconferencemessagemanager.cpp')
-rw-r--r--kopete/protocols/yahoo/yahooconferencemessagemanager.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/protocols/yahoo/yahooconferencemessagemanager.cpp b/kopete/protocols/yahoo/yahooconferencemessagemanager.cpp
index cc173d96..8d34689b 100644
--- a/kopete/protocols/yahoo/yahooconferencemessagemanager.cpp
+++ b/kopete/protocols/yahoo/yahooconferencemessagemanager.cpp
@@ -34,7 +34,7 @@
#include "yahooaccount.h"
#include "yahooinvitelistimpl.h"
-YahooConferenceChatSession::YahooConferenceChatSession( const QString & yahooRoom, Kopete::Protocol *protocol, const Kopete::Contact *user,
+YahooConferenceChatSession::YahooConferenceChatSession( const TQString & yahooRoom, Kopete::Protocol *protocol, const Kopete::Contact *user,
Kopete::ContactPtrList others, const char *name )
: Kopete::ChatSession( user, others, protocol, name )
{
@@ -42,12 +42,12 @@ YahooConferenceChatSession::YahooConferenceChatSession( const QString & yahooRoo
Kopete::ChatSessionManager::self()->registerChatSession( this );
setInstance(protocol->instance());
- connect ( this, SIGNAL( messageSent ( Kopete::Message &, Kopete::ChatSession * ) ),
- SLOT( slotMessageSent ( Kopete::Message &, Kopete::ChatSession * ) ) );
+ connect ( this, TQT_SIGNAL( messageSent ( Kopete::Message &, Kopete::ChatSession * ) ),
+ TQT_SLOT( slotMessageSent ( Kopete::Message &, Kopete::ChatSession * ) ) );
m_yahooRoom = yahooRoom;
- m_actionInvite = new KAction( i18n( "&Invite others" ), "kontact_contacts", this, SLOT( slotInviteOthers() ), actionCollection(), "yahooInvite");
+ m_actionInvite = new KAction( i18n( "&Invite others" ), "kontact_contacts", this, TQT_SLOT( slotInviteOthers() ), actionCollection(), "yahooInvite");
setXMLFile("yahooconferenceui.rc");
}
@@ -62,7 +62,7 @@ YahooAccount *YahooConferenceChatSession::account()
return static_cast< YahooAccount *>( Kopete::ChatSession::account() );
}
-const QString &YahooConferenceChatSession::room()
+const TQString &YahooConferenceChatSession::room()
{
return m_yahooRoom;
}
@@ -90,8 +90,8 @@ void YahooConferenceChatSession::slotMessageSent( Kopete::Message & message, Kop
void YahooConferenceChatSession::slotInviteOthers()
{
- QStringList buddies;
- QDictIterator<Kopete::Contact> it( account()->contacts() );
+ TQStringList buddies;
+ TQDictIterator<Kopete::Contact> it( account()->contacts() );
Kopete::Contact *myself = account()->myself();
for( ; it.current(); ++it )
{
@@ -100,11 +100,11 @@ void YahooConferenceChatSession::slotInviteOthers()
}
YahooInviteListImpl *dlg = new YahooInviteListImpl( Kopete::UI::Global::mainWidget() );
- QObject::connect( dlg, SIGNAL( readyToInvite( const QString &, const QStringList &, const QStringList &, const QString & ) ),
- account(), SLOT( slotAddInviteConference( const QString &, const QStringList &, const QStringList &, const QString & ) ) );
+ TQObject::connect( dlg, TQT_SIGNAL( readyToInvite( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ),
+ account(), TQT_SLOT( slotAddInviteConference( const TQString &, const TQStringList &, const TQStringList &, const TQString & ) ) );
dlg->setRoom( m_yahooRoom );
dlg->fillFriendList( buddies );
- for( QPtrList<Kopete::Contact>::ConstIterator it = members().begin(); it != members().end(); it++ )
+ for( TQPtrList<Kopete::Contact>::ConstIterator it = members().begin(); it != members().end(); it++ )
dlg->addParticipant( (*it)->contactId() );
dlg->show();
}