summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/testbedaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/testbed/testbedaccount.cpp')
-rw-r--r--kopete/protocols/testbed/testbedaccount.cpp22
1 files changed, 11 insertions, 11 deletions
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() );
}