summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/testbedprotocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/testbed/testbedprotocol.cpp')
-rw-r--r--kopete/protocols/testbed/testbedprotocol.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/testbed/testbedprotocol.cpp b/kopete/protocols/testbed/testbedprotocol.cpp
index 838a74b4..97ecaf02 100644
--- a/kopete/protocols/testbed/testbedprotocol.cpp
+++ b/kopete/protocols/testbed/testbedprotocol.cpp
@@ -29,11 +29,11 @@ K_EXPORT_COMPONENT_FACTORY( kopete_testbed, TestbedProtocolFactory( "kopete_test
TestbedProtocol *TestbedProtocol::s_protocol = 0L;
-TestbedProtocol::TestbedProtocol( QObject* parent, const char *name, const QStringList &/*args*/ )
+TestbedProtocol::TestbedProtocol( TQObject* parent, const char *name, const TQStringList &/*args*/ )
: Kopete::Protocol( TestbedProtocolFactory::instance(), parent, name ),
- testbedOnline( Kopete::OnlineStatus::Online, 25, this, 0, QString::null, i18n( "Online" ), i18n( "O&nline" ) ),
+ testbedOnline( Kopete::OnlineStatus::Online, 25, this, 0, TQString::null, i18n( "Online" ), i18n( "O&nline" ) ),
testbedAway( Kopete::OnlineStatus::Away, 25, this, 1, "msn_away", i18n( "Away" ), i18n( "&Away" ) ),
- testbedOffline( Kopete::OnlineStatus::Offline, 25, this, 2, QString::null, i18n( "Offline" ), i18n( "O&ffline" ) )
+ testbedOffline( Kopete::OnlineStatus::Offline, 25, this, 2, TQString::null, i18n( "Offline" ), i18n( "O&ffline" ) )
{
kdDebug( 14210 ) << k_funcinfo << endl;
@@ -46,23 +46,23 @@ TestbedProtocol::~TestbedProtocol()
}
Kopete::Contact *TestbedProtocol::deserializeContact(
- Kopete::MetaContact *metaContact, const QMap<QString, QString> &serializedData,
- const QMap<QString, QString> &/* addressBookData */)
+ Kopete::MetaContact *metaContact, const TQMap<TQString, TQString> &serializedData,
+ const TQMap<TQString, TQString> &/* addressBookData */)
{
- QString contactId = serializedData[ "contactId" ];
- QString accountId = serializedData[ "accountId" ];
- QString displayName = serializedData[ "displayName" ];
- QString type = serializedData[ "contactType" ];
+ TQString contactId = serializedData[ "contactId" ];
+ TQString accountId = serializedData[ "accountId" ];
+ TQString displayName = serializedData[ "displayName" ];
+ TQString type = serializedData[ "contactType" ];
TestbedContact::TestbedContactType tbcType;
- if ( type == QString::fromLatin1( "echo" ) )
+ if ( type == TQString::fromLatin1( "echo" ) )
tbcType = TestbedContact::Echo;
- if ( type == QString::fromLatin1( "null" ) )
+ if ( type == TQString::fromLatin1( "null" ) )
tbcType = TestbedContact::Null;
else
tbcType = TestbedContact::Null;
- QDict<Kopete::Account> accounts = Kopete::AccountManager::self()->accounts( this );
+ TQDict<Kopete::Account> accounts = Kopete::AccountManager::self()->accounts( this );
Kopete::Account *account = accounts[ accountId ];
if ( !account )
@@ -74,19 +74,19 @@ Kopete::Contact *TestbedProtocol::deserializeContact(
return new TestbedContact(account, contactId, tbcType, displayName, metaContact);
}
-AddContactPage * TestbedProtocol::createAddContactWidget( QWidget *parent, Kopete::Account * /* account */ )
+AddContactPage * TestbedProtocol::createAddContactWidget( TQWidget *parent, Kopete::Account * /* account */ )
{
kdDebug( 14210 ) << "Creating Add Contact Page" << endl;
return new TestbedAddContactPage( parent );
}
-KopeteEditAccountWidget * TestbedProtocol::createEditAccountWidget( Kopete::Account *account, QWidget *parent )
+KopeteEditAccountWidget * TestbedProtocol::createEditAccountWidget( Kopete::Account *account, TQWidget *parent )
{
kdDebug(14210) << "Creating Edit Account Page" << endl;
return new TestbedEditAccountWidget( parent, account );
}
-Kopete::Account *TestbedProtocol::createNewAccount( const QString &accountId )
+Kopete::Account *TestbedProtocol::createNewAccount( const TQString &accountId )
{
return new TestbedAccount( this, accountId );
}