diff options
Diffstat (limited to 'kopete/protocols/oscar/icq/icqprotocol.h')
-rw-r--r-- | kopete/protocols/oscar/icq/icqprotocol.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/kopete/protocols/oscar/icq/icqprotocol.h b/kopete/protocols/oscar/icq/icqprotocol.h index 8e3c1be9..96b2e201 100644 --- a/kopete/protocols/oscar/icq/icqprotocol.h +++ b/kopete/protocols/oscar/icq/icqprotocol.h @@ -31,7 +31,7 @@ class ICQProtocolHandler : public Kopete::MimeTypeHandler { public: ICQProtocolHandler(); - void handleURL(const QString &mimeType, const KURL & url) const; + void handleURL(const TQString &mimeType, const KURL & url) const; }; @@ -40,7 +40,7 @@ class ICQProtocol : public Kopete::Protocol Q_OBJECT public: - ICQProtocol(QObject *parent, const char *name, const QStringList &args); + ICQProtocol(TQObject *parent, const char *name, const TQStringList &args); virtual ~ICQProtocol(); /** @@ -51,11 +51,11 @@ public: virtual bool canSendOffline() const; virtual Kopete::Contact *deserializeContact( Kopete::MetaContact *metaContact, - const QMap<QString, QString> &serializedData, - const QMap<QString, QString> &addressBookData ); - AddContactPage *createAddContactWidget(QWidget *parent, Kopete::Account *account); - KopeteEditAccountWidget *createEditAccountWidget(Kopete::Account *account, QWidget *parent); - Kopete::Account *createNewAccount(const QString &accountId); + const TQMap<TQString, TQString> &serializedData, + const TQMap<TQString, TQString> &addressBookData ); + AddContactPage *createAddContactWidget(TQWidget *parent, Kopete::Account *account); + KopeteEditAccountWidget *createEditAccountWidget(Kopete::Account *account, TQWidget *parent); + Kopete::Account *createNewAccount(const TQString &accountId); ICQ::OnlineStatusManager *statusManager(); @@ -69,19 +69,19 @@ public: const Kopete::ContactPropertyTmpl buddyIconHash; const Kopete::ContactPropertyTmpl contactEncoding; - const QMap<int, QString> &genders() { return mGenders; } - const QMap<int, QString> &countries() { return mCountries; } - const QMap<int, QString> &languages() { return mLanguages; } - const QMap<int, QString> &encodings() { return mEncodings; } - const QMap<int, QString> &maritals() { return mMarital; } - const QMap<int, QString> &interests() { return mInterests; } + const TQMap<int, TQString> &genders() { return mGenders; } + const TQMap<int, TQString> &countries() { return mCountries; } + const TQMap<int, TQString> &languages() { return mLanguages; } + const TQMap<int, TQString> &encodings() { return mEncodings; } + const TQMap<int, TQString> &maritals() { return mMarital; } + const TQMap<int, TQString> &interests() { return mInterests; } - void fillComboFromTable( QComboBox*, const QMap<int, QString>& ); - void setComboFromTable( QComboBox*, const QMap<int, QString>&, int ); - int getCodeForCombo( QComboBox*, const QMap<int, QString>& ); - /* void fillTZCombo(QComboBox *combo); - void setTZComboValue(QComboBox *combo, const char &tz); - char getTZComboValue(QComboBox *combo); */ + void fillComboFromTable( TQComboBox*, const TQMap<int, TQString>& ); + void setComboFromTable( TQComboBox*, const TQMap<int, TQString>&, int ); + int getCodeForCombo( TQComboBox*, const TQMap<int, TQString>& ); + /* void fillTZCombo(TQComboBox *combo); + void setTZComboValue(TQComboBox *combo, const char &tz); + char getTZComboValue(TQComboBox *combo); */ private: void initGenders(); @@ -94,12 +94,12 @@ private: private: static ICQProtocol* protocolStatic_; ICQ::OnlineStatusManager* statusManager_; - QMap<int, QString> mGenders; - QMap<int, QString> mCountries; - QMap<int, QString> mLanguages; - QMap<int, QString> mEncodings; - QMap<int, QString> mMarital; - QMap<int, QString> mInterests; + TQMap<int, TQString> mGenders; + TQMap<int, TQString> mCountries; + TQMap<int, TQString> mLanguages; + TQMap<int, TQString> mEncodings; + TQMap<int, TQString> mMarital; + TQMap<int, TQString> mInterests; ICQProtocolHandler protohandler; }; #endif |