summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/icqprotocol.h
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/oscar/icq/icqprotocol.h
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/oscar/icq/icqprotocol.h')
-rw-r--r--kopete/protocols/oscar/icq/icqprotocol.h50
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