diff options
Diffstat (limited to 'kopete/protocols/meanwhile/meanwhileprotocol.cpp')
-rw-r--r-- | kopete/protocols/meanwhile/meanwhileprotocol.cpp | 30 |
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*>( |