summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/meanwhile/meanwhileprotocol.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/meanwhile/meanwhileprotocol.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhileprotocol.cpp')
-rw-r--r--kopete/protocols/meanwhile/meanwhileprotocol.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/meanwhile/meanwhileprotocol.cpp b/kopete/protocols/meanwhile/meanwhileprotocol.cpp
index 434de2f3..b9915e94 100644
--- a/kopete/protocols/meanwhile/meanwhileprotocol.cpp
+++ b/kopete/protocols/meanwhile/meanwhileprotocol.cpp
@@ -29,17 +29,17 @@ typedef KGenericFactory<MeanwhileProtocol> MeanwhileProtocolFactory;
K_EXPORT_COMPONENT_FACTORY(kopete_meanwhile,
MeanwhileProtocolFactory("kopete_meanwhile"))
-MeanwhileProtocol::MeanwhileProtocol(QObject* parent, const char *name,
- const QStringList &/*args*/)
+MeanwhileProtocol::MeanwhileProtocol(TQObject* parent, const char *name,
+ const TQStringList &/*args*/)
: Kopete::Protocol(MeanwhileProtocolFactory::instance(), parent, name),
- statusOffline(Kopete::OnlineStatus::Offline, 25, this, 0, QString::null,
+ statusOffline(Kopete::OnlineStatus::Offline, 25, this, 0, TQString::null,
i18n("Offline"), i18n("Offline"),
Kopete::OnlineStatusManager::Offline,
Kopete::OnlineStatusManager::DisabledIfOffline),
statusOnline(Kopete::OnlineStatus::Online, 25, this, mwStatus_ACTIVE,
- QString::null, i18n("Online"), i18n("Online"),
+ TQString::null, i18n("Online"), i18n("Online"),
Kopete::OnlineStatusManager::Online, 0),
statusAway(Kopete::OnlineStatus::Away, 20, this, mwStatus_AWAY,
@@ -57,10 +57,10 @@ MeanwhileProtocol::MeanwhileProtocol(QObject* parent, const char *name,
Kopete::OnlineStatusManager::Idle, 0),
statusAccountOffline(Kopete::OnlineStatus::Offline, 0, this, 0,
- QString::null, i18n("Account Offline")),
+ TQString::null, i18n("Account Offline")),
- statusMessage(QString::fromLatin1("statusMessage"),
- i18n("Status Message"), QString::null, false, true),
+ statusMessage(TQString::fromLatin1("statusMessage"),
+ i18n("Status Message"), TQString::null, false, true),
awayMessage(Kopete::Global::Properties::self()->awayMessage())
{
@@ -73,31 +73,31 @@ MeanwhileProtocol::~MeanwhileProtocol()
{
}
-AddContactPage * MeanwhileProtocol::createAddContactWidget(QWidget *parent,
+AddContactPage * MeanwhileProtocol::createAddContactWidget(TQWidget *parent,
Kopete::Account *account )
{
return new MeanwhileAddContactPage(parent, account);
}
KopeteEditAccountWidget * MeanwhileProtocol::createEditAccountWidget(
- Kopete::Account *account, QWidget *parent )
+ Kopete::Account *account, TQWidget *parent )
{
return new MeanwhileEditAccountWidget(parent, account, this);
}
-Kopete::Account *MeanwhileProtocol::createNewAccount(const QString &accountId)
+Kopete::Account *MeanwhileProtocol::createNewAccount(const TQString &accountId)
{
return new MeanwhileAccount(this, accountId, accountId.ascii());
}
Kopete::Contact *MeanwhileProtocol::deserializeContact(
Kopete::MetaContact *metaContact,
- const QMap<QString,
- QString> &serializedData,
- const QMap<QString, QString> & /* addressBookData */ )
+ const TQMap<TQString,
+ TQString> &serializedData,
+ const TQMap<TQString, TQString> & /* addressBookData */ )
{
- QString contactId = serializedData[ "contactId" ];
- QString accountId = serializedData[ "accountId" ];
+ TQString contactId = serializedData[ "contactId" ];
+ TQString accountId = serializedData[ "accountId" ];
MeanwhileAccount *theAccount =
static_cast<MeanwhileAccount*>(