diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kresources/slox/webdavhandler.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/slox/webdavhandler.h')
-rw-r--r-- | kresources/slox/webdavhandler.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kresources/slox/webdavhandler.h b/kresources/slox/webdavhandler.h index b41499a4a..2d4286193 100644 --- a/kresources/slox/webdavhandler.h +++ b/kresources/slox/webdavhandler.h @@ -20,10 +20,10 @@ #ifndef WEBDAVHANDLER_H #define WEBDAVHANDLER_H -#include <qvaluelist.h> -#include <qstring.h> -#include <qdatetime.h> -#include <qdom.h> +#include <tqvaluelist.h> +#include <tqstring.h> +#include <tqdatetime.h> +#include <tqdom.h> #include <kdepimmacros.h> #include <kabc/addressee.h> @@ -41,12 +41,12 @@ class KDE_EXPORT SloxItem SloxItem(); - QDomNode domNode; - QString sloxId; - QString clientId; + TQDomNode domNode; + TQString sloxId; + TQString clientId; Status status; - QString response; - QString responseDescription; + TQString response; + TQString responseDescription; }; class KDE_EXPORT WebdavHandler @@ -54,41 +54,41 @@ class KDE_EXPORT WebdavHandler public: WebdavHandler(); - void setUserId( const QString & ); - QString userId() const; + void setUserId( const TQString & ); + TQString userId() const; void setResource( SloxBase *res ) { mRes = res; } - void log( const QString & ); + void log( const TQString & ); - static QDomElement addElement( QDomDocument &, QDomNode &, - const QString &tag ); - static QDomElement addDavElement( QDomDocument &, QDomNode &, - const QString &tag ); - static QDomElement addSloxElement( SloxBase *res, - QDomDocument &, QDomNode &, - const QString &tag, - const QString &text = QString::null ); + static TQDomElement addElement( TQDomDocument &, TQDomNode &, + const TQString &tag ); + static TQDomElement addDavElement( TQDomDocument &, TQDomNode &, + const TQString &tag ); + static TQDomElement addSloxElement( SloxBase *res, + TQDomDocument &, TQDomNode &, + const TQString &tag, + const TQString &text = TQString::null ); - static QDateTime sloxToQDateTime( const QString &str ); - static QDateTime sloxToQDateTime( const QString &str, - const QString &timeZoneId ); - static QString qDateTimeToSlox( const QDateTime &dt ); - static QString qDateTimeToSlox( const QDateTime &dt, - const QString &timeZoneId ); + static TQDateTime sloxToQDateTime( const TQString &str ); + static TQDateTime sloxToQDateTime( const TQString &str, + const TQString &timeZoneId ); + static TQString qDateTimeToSlox( const TQDateTime &dt ); + static TQString qDateTimeToSlox( const TQDateTime &dt, + const TQString &timeZoneId ); - static QValueList<SloxItem> getSloxItems( SloxBase *res, const QDomDocument &doc ); + static TQValueList<SloxItem> getSloxItems( SloxBase *res, const TQDomDocument &doc ); void clearSloxAttributeStatus(); - void parseSloxAttribute( const QDomElement & ); + void parseSloxAttribute( const TQDomElement & ); void setSloxAttributes( KCal::Incidence * ); void setSloxAttributes( KABC::Addressee & ); private: - QString mLogFile; + TQString mLogFile; int mLogCount; SloxBase *mRes; - QString mUserId; + TQString mUserId; bool mWritable; }; |