diff options
Diffstat (limited to 'kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h')
-rw-r--r-- | kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h index c3f089c7..926395e9 100644 --- a/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h +++ b/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_xmlcommon.h @@ -21,7 +21,7 @@ #ifndef JABBER_XMLCOMMON_H #define JABBER_XMLCOMMON_H -#include<qdom.h> +#include<tqdom.h> class QDateTime; class QRect; @@ -29,43 +29,43 @@ class QSize; class QColor; class QStringList; -bool stamp2TS(const QString &ts, QDateTime *d); -QString TS2stamp(const QDateTime &d); -QDomElement textTag(QDomDocument *doc, const QString &name, const QString &content); -QString tagContent(const QDomElement &e); -QDomElement findSubTag(const QDomElement &e, const QString &name, bool *found); -QDomElement createIQ(QDomDocument *doc, const QString &type, const QString &to, const QString &id); -QDomElement queryTag(const QDomElement &e); -QString queryNS(const QDomElement &e); -void getErrorFromElement(const QDomElement &e, int *code, QString *str); +bool stamp2TS(const TQString &ts, TQDateTime *d); +TQString TS2stamp(const TQDateTime &d); +TQDomElement textTag(TQDomDocument *doc, const TQString &name, const TQString &content); +TQString tagContent(const TQDomElement &e); +TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool *found); +TQDomElement createIQ(TQDomDocument *doc, const TQString &type, const TQString &to, const TQString &id); +TQDomElement queryTag(const TQDomElement &e); +TQString queryNS(const TQDomElement &e); +void getErrorFromElement(const TQDomElement &e, int *code, TQString *str); namespace XMLHelper { - //QDomElement findSubTag(const QDomElement &e, const QString &name, bool *found); - bool hasSubTag(const QDomElement &e, const QString &name); + //TQDomElement findSubTag(const TQDomElement &e, const TQString &name, bool *found); + bool hasSubTag(const TQDomElement &e, const TQString &name); - QDomElement emptyTag(QDomDocument *doc, const QString &name); - QString subTagText(const QDomElement &e, const QString &name); + TQDomElement emptyTag(TQDomDocument *doc, const TQString &name); + TQString subTagText(const TQDomElement &e, const TQString &name); - QDomElement textTag(QDomDocument &doc, const QString &name, const QString &content); - QDomElement textTag(QDomDocument &doc, const QString &name, int content); - QDomElement textTag(QDomDocument &doc, const QString &name, bool content); - QDomElement textTag(QDomDocument &doc, const QString &name, QSize &s); - QDomElement textTag(QDomDocument &doc, const QString &name, QRect &r); - QDomElement stringListToXml(QDomDocument &doc, const QString &name, const QStringList &l); + TQDomElement textTag(TQDomDocument &doc, const TQString &name, const TQString &content); + TQDomElement textTag(TQDomDocument &doc, const TQString &name, int content); + TQDomElement textTag(TQDomDocument &doc, const TQString &name, bool content); + TQDomElement textTag(TQDomDocument &doc, const TQString &name, TQSize &s); + TQDomElement textTag(TQDomDocument &doc, const TQString &name, TQRect &r); + TQDomElement stringListToXml(TQDomDocument &doc, const TQString &name, const TQStringList &l); - void readEntry(const QDomElement &e, const QString &name, QString *v); - void readNumEntry(const QDomElement &e, const QString &name, int *v); - void readBoolEntry(const QDomElement &e, const QString &name, bool *v); - void readSizeEntry(const QDomElement &e, const QString &name, QSize *v); - void readRectEntry(const QDomElement &e, const QString &name, QRect *v); - void readColorEntry(const QDomElement &e, const QString &name, QColor *v); + void readEntry(const TQDomElement &e, const TQString &name, TQString *v); + void readNumEntry(const TQDomElement &e, const TQString &name, int *v); + void readBoolEntry(const TQDomElement &e, const TQString &name, bool *v); + void readSizeEntry(const TQDomElement &e, const TQString &name, TQSize *v); + void readRectEntry(const TQDomElement &e, const TQString &name, TQRect *v); + void readColorEntry(const TQDomElement &e, const TQString &name, TQColor *v); - void xmlToStringList(const QDomElement &e, const QString &name, QStringList *v); + void xmlToStringList(const TQDomElement &e, const TQString &name, TQStringList *v); - void setBoolAttribute(QDomElement e, const QString &name, bool b); - void readBoolAttribute(QDomElement e, const QString &name, bool *v); + void setBoolAttribute(TQDomElement e, const TQString &name, bool b); + void readBoolAttribute(TQDomElement e, const TQString &name, bool *v); - //QString tagContent(const QDomElement &e); // obsolete; + //TQString tagContent(const TQDomElement &e); // obsolete; } #endif |