summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxfoldermanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/slox/sloxfoldermanager.cpp')
-rw-r--r--kresources/slox/sloxfoldermanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/slox/sloxfoldermanager.cpp b/kresources/slox/sloxfoldermanager.cpp
index 41864caf8..b5fd39585 100644
--- a/kresources/slox/sloxfoldermanager.cpp
+++ b/kresources/slox/sloxfoldermanager.cpp
@@ -65,7 +65,7 @@ void SloxFolderManager::requestFolders()
url.setPath( "/servlet/webdav.folders/file.xml" );
TQDomDocument doc;
- TQDomElement root = WebdavHandler::addDavElement( doc, doc, "propfind" );
+ TQDomElement root = WebdavHandler::addDavElement( doc, doc, "proptqfind" );
TQDomElement prop = WebdavHandler::addDavElement( doc, root, "prop" );
WebdavHandler::addSloxElement( mRes, doc, prop, "objectmode", "NEW_AND_MODIFIED" );
WebdavHandler::addSloxElement( mRes, doc, prop, "lastsync", "0" );
@@ -136,7 +136,7 @@ void SloxFolderManager::readFolders()
TQDomNodeList nodes = doc.elementsByTagName( "D:prop" );
for( uint i = 0; i < nodes.count(); ++i ) {
TQDomElement element = nodes.item(i).toElement();
- TQString id = "-1", parentId = "-1"; // OX default folder
+ TQString id = "-1", tqparentId = "-1"; // OX default folder
bool def = false;
TQString name, type;
TQDomNode n;
@@ -145,13 +145,13 @@ void SloxFolderManager::readFolders()
TQString tag = e.tagName();
TQString value = e.text();
if ( tag == "ox:object_id" ) id = value;
- else if ( tag == "ox:folder_id" ) parentId = value;
+ else if ( tag == "ox:folder_id" ) tqparentId = value;
else if ( tag == "ox:title" ) name = value;
else if ( tag == "ox:module" ) type = value;
else if ( tag == "ox:defaultfolder" ) def = (value == "true");
}
- if ( id != "-1" && parentId != "-1" ) {
- SloxFolder *folder = new SloxFolder( id, parentId, type, name, def );
+ if ( id != "-1" && tqparentId != "-1" ) {
+ SloxFolder *folder = new SloxFolder( id, tqparentId, type, name, def );
mFolders[id] = folder;
kdDebug() << k_funcinfo << "Found folder: " << folder->name() << endl;
}