summaryrefslogtreecommitdiffstats
path: root/kresources/lib/davcalendaradaptor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/lib/davcalendaradaptor.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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/lib/davcalendaradaptor.cpp')
-rw-r--r--kresources/lib/davcalendaradaptor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/lib/davcalendaradaptor.cpp b/kresources/lib/davcalendaradaptor.cpp
index 541b12bb8..a950e405c 100644
--- a/kresources/lib/davcalendaradaptor.cpp
+++ b/kresources/lib/davcalendaradaptor.cpp
@@ -25,7 +25,7 @@
#include <kio/davjob.h>
// #include <folderlister.h>
-// #include <qdom.h>
+// #include <tqdom.h>
using namespace KCal;
@@ -37,17 +37,17 @@ void DavCalendarAdaptor::interpretListFoldersJob( KIO::Job *job, KPIM::FolderLis
Q_ASSERT( davjob );
if ( !davjob ) return;
- QDomDocument doc = davjob->response();
+ TQDomDocument doc = davjob->response();
kdDebug(7000) << " Doc: " << doc.toString() << endl;
- QDomElement docElement = doc.documentElement();
- QDomNode n;
+ TQDomElement docElement = doc.documentElement();
+ TQDomNode n;
for( n = docElement.firstChild(); !n.isNull(); n = n.nextSibling() ) {
- QDomNode n2 = n.namedItem( "propstat" );
- QDomNode n3 = n2.namedItem( "prop" );
+ TQDomNode n2 = n.namedItem( "propstat" );
+ TQDomNode n3 = n2.namedItem( "prop" );
KURL href( n.namedItem( "href" ).toElement().text() );
- QString displayName = n3.namedItem( "displayname" ).toElement().text();
+ TQString displayName = n3.namedItem( "displayname" ).toElement().text();
KPIM::FolderLister::ContentType type = getContentType( n3 );
emit folderInfoRetrieved( href, displayName, type );