summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/testbedcontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/testbed/testbedcontact.cpp')
-rw-r--r--kopete/protocols/testbed/testbedcontact.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/testbed/testbedcontact.cpp b/kopete/protocols/testbed/testbedcontact.cpp
index b5fc1c2c..bf110872 100644
--- a/kopete/protocols/testbed/testbedcontact.cpp
+++ b/kopete/protocols/testbed/testbedcontact.cpp
@@ -28,8 +28,8 @@
#include "testbedfakeserver.h"
#include "testbedprotocol.h"
-TestbedContact::TestbedContact( Kopete::Account* _account, const QString &uniqueName,
- const TestbedContactType type, const QString &displayName, Kopete::MetaContact *parent )
+TestbedContact::TestbedContact( Kopete::Account* _account, const TQString &uniqueName,
+ const TestbedContactType type, const TQString &displayName, Kopete::MetaContact *parent )
: Kopete::Contact( _account, uniqueName, parent )
{
kdDebug( 14210 ) << k_funcinfo << " uniqueName: " << uniqueName << ", displayName: " << displayName << endl;
@@ -49,9 +49,9 @@ bool TestbedContact::isReachable()
return true;
}
-void TestbedContact::serialize( QMap< QString, QString > &serializedData, QMap< QString, QString > & /* addressBookData */ )
+void TestbedContact::serialize( TQMap< TQString, TQString > &serializedData, TQMap< TQString, TQString > & /* addressBookData */ )
{
- QString value;
+ TQString value;
switch ( m_type )
{
case Null:
@@ -71,23 +71,23 @@ Kopete::ChatSession* TestbedContact::manager( CanCreateFlags )
}
else
{
- QPtrList<Kopete::Contact> contacts;
+ TQPtrList<Kopete::Contact> contacts;
contacts.append(this);
m_msgManager = Kopete::ChatSessionManager::self()->create(account()->myself(), contacts, protocol());
- connect(m_msgManager, SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)),
- this, SLOT( sendMessage( Kopete::Message& ) ) );
- connect(m_msgManager, SIGNAL(destroyed()), this, SLOT(slotChatSessionDestroyed()));
+ connect(m_msgManager, TQT_SIGNAL(messageSent(Kopete::Message&, Kopete::ChatSession*)),
+ this, TQT_SLOT( sendMessage( Kopete::Message& ) ) );
+ connect(m_msgManager, TQT_SIGNAL(destroyed()), this, TQT_SLOT(slotChatSessionDestroyed()));
return m_msgManager;
}
}
-QPtrList<KAction> *TestbedContact::customContextMenuActions() //OBSOLETE
+TQPtrList<KAction> *TestbedContact::customContextMenuActions() //OBSOLETE
{
//FIXME!!! this function is obsolete, we should use XMLGUI instead
/*m_actionCollection = new KActionCollection( this, "userColl" );
m_actionPrefs = new KAction(i18n( "&Contact Settings" ), 0, this,
- SLOT( showContactSettings( )), m_actionCollection, "contactSettings" );
+ TQT_SLOT( showContactSettings( )), m_actionCollection, "contactSettings" );
return m_actionCollection;*/
return 0L;
@@ -114,7 +114,7 @@ void TestbedContact::sendMessage( Kopete::Message &message )
manager()->messageSucceeded();
}
-void TestbedContact::receivedMessage( const QString &message )
+void TestbedContact::receivedMessage( const TQString &message )
{
// Create a Kopete::Message
Kopete::Message *newMessage;