summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h')
-rw-r--r--kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h114
1 files changed, 57 insertions, 57 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h
index bf1cc44d..c8085013 100644
--- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h
+++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_tasks.h
@@ -21,8 +21,8 @@
#ifndef JABBER_TASKS_H
#define JABBER_TASKS_H
-#include<qstring.h>
-#include<qdom.h>
+#include<tqstring.h>
+#include<tqdom.h>
#include"im.h"
#include"xmpp_vcard.h"
@@ -39,8 +39,8 @@ namespace XMPP
JT_Register(Task *parent);
~JT_Register();
- void reg(const QString &user, const QString &pass);
- void changepw(const QString &pass);
+ void reg(const TQString &user, const TQString &pass);
+ void changepw(const TQString &pass);
void unreg(const Jid &j="");
const Form & form() const;
@@ -48,10 +48,10 @@ namespace XMPP
void setForm(const Form &);
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
- QDomElement iq;
+ TQDomElement iq;
Jid to;
class Private;
@@ -86,20 +86,20 @@ namespace XMPP
~JT_Roster();
void get();
- void set(const Jid &, const QString &name, const QStringList &groups);
+ void set(const Jid &, const TQString &name, const TQStringList &groups);
void remove(const Jid &);
const Roster & roster() const;
- QString toString() const;
- bool fromString(const QString &);
+ TQString toString() const;
+ bool fromString(const TQString &);
void onGo();
- bool take(const QDomElement &x);
+ bool take(const TQDomElement &x);
private:
int type;
- QDomElement iq;
+ TQDomElement iq;
Jid to;
class Private;
@@ -113,7 +113,7 @@ namespace XMPP
JT_PushRoster(Task *parent);
~JT_PushRoster();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
signals:
void roster(const Roster &);
@@ -132,12 +132,12 @@ namespace XMPP
void pres(const Status &);
void pres(const Jid &, const Status &);
- void sub(const Jid &, const QString &subType);
+ void sub(const Jid &, const TQString &subType);
void onGo();
private:
- QDomElement tag;
+ TQDomElement tag;
int type;
class Private;
@@ -151,11 +151,11 @@ namespace XMPP
JT_PushPresence(Task *parent);
~JT_PushPresence();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
signals:
void presence(const Jid &, const Status &);
- void subscription(const Jid &, const QString &);
+ void subscription(const Jid &, const TQString &);
private:
class Private;
@@ -185,7 +185,7 @@ namespace XMPP
JT_PushMessage(Task *parent);
~JT_PushMessage();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
signals:
void message(const Message &);
@@ -205,16 +205,16 @@ namespace XMPP
void get(const Jid &);
int seconds() const;
- const QString &message() const;
+ const TQString &message() const;
void onGo();
- bool take(const QDomElement &x);
+ bool take(const TQDomElement &x);
private:
class Private;
Private *d;
- QDomElement iq;
+ TQDomElement iq;
Jid jid;
};
@@ -229,13 +229,13 @@ namespace XMPP
const AgentList & agents() const;
void onGo();
- bool take(const QDomElement &x);
+ bool take(const TQDomElement &x);
private:
class Private;
Private *d;
- QDomElement iq;
+ TQDomElement iq;
Jid jid;
AgentList agentList;
};
@@ -254,7 +254,7 @@ namespace XMPP
const VCard & vcard() const;
void onGo();
- bool take(const QDomElement &x);
+ bool take(const TQDomElement &x);
private:
int type;
@@ -271,16 +271,16 @@ namespace XMPP
~JT_Search();
const Form & form() const;
- const QValueList<SearchResult> & results() const;
+ const TQValueList<SearchResult> & results() const;
void get(const Jid &);
void set(const Form &);
void onGo();
- bool take(const QDomElement &x);
+ bool take(const TQDomElement &x);
private:
- QDomElement iq;
+ TQDomElement iq;
int type;
class Private;
@@ -295,18 +295,18 @@ namespace XMPP
void get(const Jid &);
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
const Jid & jid() const;
- const QString & name() const;
- const QString & version() const;
- const QString & os() const;
+ const TQString & name() const;
+ const TQString & version() const;
+ const TQString & os() const;
private:
- QDomElement iq;
+ TQDomElement iq;
Jid j;
- QString v_name, v_ver, v_os;
+ TQString v_name, v_ver, v_os;
};
/*
class JT_ClientTime : public Task
@@ -316,14 +316,14 @@ namespace XMPP
JT_ClientTime(Task *, const Jid &);
void go();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
Jid j;
- QDateTime utc;
- QString timezone, display;
+ TQDateTime utc;
+ TQString timezone, display;
private:
- QDomElement iq;
+ TQDomElement iq;
};
*/
class JT_ServInfo : public Task
@@ -333,7 +333,7 @@ namespace XMPP
JT_ServInfo(Task *);
~JT_ServInfo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
};
class JT_Gateway : public Task
@@ -343,20 +343,20 @@ namespace XMPP
JT_Gateway(Task *);
void get(const Jid &);
- void set(const Jid &, const QString &prompt);
+ void set(const Jid &, const TQString &prompt);
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
Jid jid() const;
- QString desc() const;
- QString prompt() const;
+ TQString desc() const;
+ TQString prompt() const;
private:
- QDomElement iq;
+ TQDomElement iq;
int type;
Jid v_jid;
- QString v_prompt, v_desc;
+ TQString v_prompt, v_desc;
};
class JT_Browse : public Task
@@ -372,13 +372,13 @@ namespace XMPP
const AgentItem & root() const;
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
class Private;
Private *d;
- AgentItem browseHelper (const QDomElement &i);
+ AgentItem browseHelper (const TQDomElement &i);
};
class JT_DiscoItems : public Task
@@ -388,13 +388,13 @@ namespace XMPP
JT_DiscoItems(Task *);
~JT_DiscoItems();
- void get(const Jid &, const QString &node = QString::null);
+ void get(const Jid &, const TQString &node = TQString::null);
void get(const DiscoItem &);
const DiscoList &items() const;
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
class Private;
@@ -408,15 +408,15 @@ namespace XMPP
JT_DiscoInfo(Task *);
~JT_DiscoInfo();
- void get(const Jid &, const QString &node = QString::null, const DiscoItem::Identity = DiscoItem::Identity());
+ void get(const Jid &, const TQString &node = TQString::null, const DiscoItem::Identity = DiscoItem::Identity());
void get(const DiscoItem &);
const DiscoItem &item() const;
const Jid& jid() const;
- const QString& node() const;
+ const TQString& node() const;
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
class Private;
@@ -433,7 +433,7 @@ namespace XMPP
void set(const Jid &, const DiscoList &);
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
class Private;
@@ -448,12 +448,12 @@ namespace XMPP
~JT_MucPresence();
void pres(const Status &);
- void pres(const Jid &, const Status &, const QString &password);
+ void pres(const Jid &, const Status &, const TQString &password);
void onGo();
private:
- QDomElement tag;
+ TQDomElement tag;
int type;
class Private;
@@ -467,13 +467,13 @@ namespace XMPP
JT_PrivateStorage(Task *parent);
~JT_PrivateStorage();
- void set(const QDomElement &);
- void get(const QString &tag, const QString& xmlns);
+ void set(const TQDomElement &);
+ void get(const TQString &tag, const TQString& xmlns);
- QDomElement element();
+ TQDomElement element();
void onGo();
- bool take(const QDomElement &);
+ bool take(const TQDomElement &);
private:
class Private;