diff options
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" ); |