diff options
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; }; |