From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001
From: tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>
Date: Sat, 31 Jul 2010 19:48:06 +0000
Subject: Trinity Qt initial conversion

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
---
 kopete/protocols/testbed/testbedaccount.cpp | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

(limited to 'kopete/protocols/testbed/testbedaccount.cpp')

diff --git a/kopete/protocols/testbed/testbedaccount.cpp b/kopete/protocols/testbed/testbedaccount.cpp
index fbb3462a..cc906447 100644
--- a/kopete/protocols/testbed/testbedaccount.cpp
+++ b/kopete/protocols/testbed/testbedaccount.cpp
@@ -29,7 +29,7 @@
 #include "testbedprotocol.h"
 
 
-TestbedAccount::TestbedAccount( TestbedProtocol *parent, const QString& accountID, const char *name )
+TestbedAccount::TestbedAccount( TestbedProtocol *parent, const TQString& accountID, const char *name )
 : Kopete::Account ( parent, accountID , name )
 {
 	// Init the myself contact
@@ -51,20 +51,20 @@ KActionMenu* TestbedAccount::actionMenu()
 
 	KAction *action;
 	
-	action = new KAction (i18n ("Show my own video..."), "testbed_showvideo", 0, this, SLOT (slotShowVideo ()), this, "actionShowVideo");
+	action = new KAction (i18n ("Show my own video..."), "testbed_showvideo", 0, this, TQT_SLOT (slotShowVideo ()), this, "actionShowVideo");
 	mActionMenu->insert(action);
 	action->setEnabled( isConnected() );
 
 	return mActionMenu;
 }
 
-bool TestbedAccount::createContact(const QString& contactId, Kopete::MetaContact* parentContact)
+bool TestbedAccount::createContact(const TQString& contactId, Kopete::MetaContact* parentContact)
 {
 	TestbedContact* newContact = new TestbedContact( this, contactId, TestbedContact::Echo, parentContact->displayName(), parentContact );
 	return newContact != 0L;
 }
 
-void TestbedAccount::setAway( bool away, const QString & /* reason */ )
+void TestbedAccount::setAway( bool away, const TQString & /* reason */ )
 {
 	if ( away )
 		slotGoAway();
@@ -72,7 +72,7 @@ void TestbedAccount::setAway( bool away, const QString & /* reason */ )
 		slotGoOnline();
 }
 
-void TestbedAccount::setOnlineStatus(const Kopete::OnlineStatus& status, const QString &reason )
+void TestbedAccount::setOnlineStatus(const Kopete::OnlineStatus& status, const TQString &reason )
 {
 	if ( status.status() == Kopete::OnlineStatus::Online &&
 			myself()->onlineStatus().status() == Kopete::OnlineStatus::Offline )
@@ -90,15 +90,15 @@ void TestbedAccount::connect( const Kopete::OnlineStatus& /* initialStatus */ )
 {
 	kdDebug ( 14210 ) << k_funcinfo << endl;
 	myself()->setOnlineStatus( TestbedProtocol::protocol()->testbedOnline );
-	QObject::connect ( m_server, SIGNAL ( messageReceived( const QString & ) ),
-			this, SLOT ( receivedMessage( const QString & ) ) );
+	TQObject::connect ( m_server, TQT_SIGNAL ( messageReceived( const TQString & ) ),
+			this, TQT_SLOT ( receivedMessage( const TQString & ) ) );
 }
 
 void TestbedAccount::disconnect()
 {
 	kdDebug ( 14210 ) << k_funcinfo << endl;
 	myself()->setOnlineStatus( TestbedProtocol::protocol()->testbedOffline );
-	QObject::disconnect ( m_server, 0, 0, 0 );
+	TQObject::disconnect ( m_server, 0, 0, 0 );
 }
 
 TestbedFakeServer * TestbedAccount::server()
@@ -147,10 +147,10 @@ void TestbedAccount::slotShowVideo ()
 	updateContactStatus();
 }
 
-void TestbedAccount::receivedMessage( const QString &message )
+void TestbedAccount::receivedMessage( const TQString &message )
 {
 	// Look up the contact the message is from
-	QString from;
+	TQString from;
 	TestbedContact* messageSender;
 
 	from = message.section( ':', 0, 0 );
@@ -167,7 +167,7 @@ void TestbedAccount::receivedMessage( const QString &message )
 
 void TestbedAccount::updateContactStatus()
 {
-	QDictIterator<Kopete::Contact> itr( contacts() );
+	TQDictIterator<Kopete::Contact> itr( contacts() );
 	for ( ; itr.current(); ++itr )
 		itr.current()->setOnlineStatus( myself()->onlineStatus() );
 }
-- 
cgit v1.2.3