From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslaves/opengroupware/opengroupware.h | 1 + kioslaves/opengroupware/webdavhandler.cpp | 2 +- kioslaves/opengroupware/webdavhandler.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'kioslaves/opengroupware') diff --git a/kioslaves/opengroupware/opengroupware.h b/kioslaves/opengroupware/opengroupware.h index 1a7b143e7..3f48ff882 100644 --- a/kioslaves/opengroupware/opengroupware.h +++ b/kioslaves/opengroupware/opengroupware.h @@ -33,6 +33,7 @@ namespace KIO { class OpenGroupware : public TQObject, public KIO::SlaveBase { Q_OBJECT + TQ_OBJECT public: OpenGroupware( const TQCString &protocol, const TQCString &pool, const TQCString &app ); diff --git a/kioslaves/opengroupware/webdavhandler.cpp b/kioslaves/opengroupware/webdavhandler.cpp index 1177624c5..61f2d6b53 100644 --- a/kioslaves/opengroupware/webdavhandler.cpp +++ b/kioslaves/opengroupware/webdavhandler.cpp @@ -70,7 +70,7 @@ TQDomDocument WebdavHandler::createAllPropsRequest() { TQDomDocument doc; - TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" ); + TQDomElement root = WebdavHandler::addDavElement( doc, doc, "proptqfind" ); TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" ); WebdavHandler::addDavElement( doc, prop, "getcontentlength"); WebdavHandler::addDavElement( doc, prop, "getlastmodified" ); diff --git a/kioslaves/opengroupware/webdavhandler.h b/kioslaves/opengroupware/webdavhandler.h index 367ff3aa3..eebb7b03b 100644 --- a/kioslaves/opengroupware/webdavhandler.h +++ b/kioslaves/opengroupware/webdavhandler.h @@ -37,7 +37,7 @@ class WebdavHandler const TQString &tag ); static TQDomElement addSloxElement( TQDomDocument &, TQDomNode &, const TQString &tag, - const TQString &text = TQString::null ); + const TQString &text = TQString() ); static TQDomDocument createAllPropsRequest(); }; -- cgit v1.2.1