summaryrefslogtreecommitdiffstats
path: root/knode/knfolder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knfolder.cpp')
-rw-r--r--knode/knfolder.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/knfolder.cpp b/knode/knfolder.cpp
index 68a43dcea..58ac7d0fc 100644
--- a/knode/knfolder.cpp
+++ b/knode/knfolder.cpp
@@ -41,8 +41,8 @@ KNFolder::KNFolder()
}
-KNFolder::KNFolder(int id, const TQString &name, KNFolder *tqparent)
- : KNArticleCollection(tqparent), i_d(id), i_ndexDirty(false), w_asOpen(true)
+KNFolder::KNFolder(int id, const TQString &name, KNFolder *parent)
+ : KNArticleCollection(parent), i_d(id), i_ndexDirty(false), w_asOpen(true)
{
TQString fname=path()+TQString("custom_%1").tqarg(i_d);
@@ -51,7 +51,7 @@ KNFolder::KNFolder(int id, const TQString &name, KNFolder *tqparent)
i_ndexFile.setName(fname+".idx");
i_nfoPath=fname+".info";
- p_arentId=tqparent?tqparent->id():-1;
+ p_arentId=parent?parent->id():-1;
if(i_ndexFile.exists())
c_ount=i_ndexFile.size()/sizeof(DynData);
@@ -60,8 +60,8 @@ KNFolder::KNFolder(int id, const TQString &name, KNFolder *tqparent)
}
-KNFolder::KNFolder(int id, const TQString &name, const TQString &prefix, KNFolder *tqparent)
- : KNArticleCollection(tqparent), i_d(id), i_ndexDirty(false), w_asOpen(true)
+KNFolder::KNFolder(int id, const TQString &name, const TQString &prefix, KNFolder *parent)
+ : KNArticleCollection(parent), i_d(id), i_ndexDirty(false), w_asOpen(true)
{
TQString fname=path()+TQString("%1_%2").tqarg(prefix).tqarg(i_d);
@@ -70,7 +70,7 @@ KNFolder::KNFolder(int id, const TQString &name, const TQString &prefix, KNFolde
i_ndexFile.setName(fname+".idx");
i_nfoPath=fname+".info";
- p_arentId=tqparent?tqparent->id():-1;
+ p_arentId=parent?parent->id():-1;
if(i_ndexFile.exists())
c_ount=i_ndexFile.size()/sizeof(DynData);