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 /kioslaves/opengroupware/webdavhandler.cpp | |
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 'kioslaves/opengroupware/webdavhandler.cpp')
-rw-r--r-- | kioslaves/opengroupware/webdavhandler.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kioslaves/opengroupware/webdavhandler.cpp b/kioslaves/opengroupware/webdavhandler.cpp index 683302003..1177624c5 100644 --- a/kioslaves/opengroupware/webdavhandler.cpp +++ b/kioslaves/opengroupware/webdavhandler.cpp @@ -29,7 +29,7 @@ #include <kdebug.h> #include <kconfig.h> -#include <qfile.h> +#include <tqfile.h> WebdavHandler::WebdavHandler() @@ -37,41 +37,41 @@ WebdavHandler::WebdavHandler() } -QDomElement WebdavHandler::addElement( QDomDocument &doc, QDomNode &node, - const QString &tag ) +TQDomElement WebdavHandler::addElement( TQDomDocument &doc, TQDomNode &node, + const TQString &tag ) { - QDomElement el = doc.createElement( tag ); + TQDomElement el = doc.createElement( tag ); node.appendChild( el ); return el; } -QDomElement WebdavHandler::addDavElement( QDomDocument &doc, QDomNode &node, - const QString &tag ) +TQDomElement WebdavHandler::addDavElement( TQDomDocument &doc, TQDomNode &node, + const TQString &tag ) { - QDomElement el = doc.createElementNS( "DAV", tag ); + TQDomElement el = doc.createElementNS( "DAV", tag ); node.appendChild( el ); return el; } -QDomElement WebdavHandler::addSloxElement( QDomDocument &doc, QDomNode &node, - const QString &tag, - const QString &text ) +TQDomElement WebdavHandler::addSloxElement( TQDomDocument &doc, TQDomNode &node, + const TQString &tag, + const TQString &text ) { - QDomElement el = doc.createElementNS( "SLOX", tag ); + TQDomElement el = doc.createElementNS( "SLOX", tag ); if ( !text.isEmpty() ) { - QDomText textnode = doc.createTextNode( text ); + TQDomText textnode = doc.createTextNode( text ); el.appendChild( textnode ); } node.appendChild( el ); return el; } -QDomDocument WebdavHandler::createAllPropsRequest() +TQDomDocument WebdavHandler::createAllPropsRequest() { - QDomDocument doc; + TQDomDocument doc; - QDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" ); - QDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" ); + TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" ); + TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" ); WebdavHandler::addDavElement( doc, prop, "getcontentlength"); WebdavHandler::addDavElement( doc, prop, "getlastmodified" ); WebdavHandler::addDavElement( doc, prop, "displayname" ); |