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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kresources/slox/sloxfoldermanager.cpp b/kresources/slox/sloxfoldermanager.cpp
index b5fd39585..7894ec93a 100644
--- a/kresources/slox/sloxfoldermanager.cpp
+++ b/kresources/slox/sloxfoldermanager.cpp
@@ -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", tqparentId = "-1"; // OX default folder
+ TQString id = "-1", parentId = "-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" ) tqparentId = value;
+ else if ( tag == "ox:folder_id" ) parentId = 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" && tqparentId != "-1" ) {
- SloxFolder *folder = new SloxFolder( id, tqparentId, type, name, def );
+ if ( id != "-1" && parentId != "-1" ) {
+ SloxFolder *folder = new SloxFolder( id, parentId, type, name, def );
mFolders[id] = folder;
kdDebug() << k_funcinfo << "Found folder: " << folder->name() << endl;
}