summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderdir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfolderdir.cpp')
-rw-r--r--kmail/kmfolderdir.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmfolderdir.cpp b/kmail/kmfolderdir.cpp
index 1fd5dcd56..77390e61b 100644
--- a/kmail/kmfolderdir.cpp
+++ b/kmail/kmfolderdir.cpp
@@ -75,9 +75,9 @@ KMFolderMgr* KMFolderRootDir::manager() const
//=============================================================================
//=============================================================================
-KMFolderDir::KMFolderDir( KMFolder * owner, KMFolderDir* tqparent,
+KMFolderDir::KMFolderDir( KMFolder * owner, KMFolderDir* parent,
const TQString& name, KMFolderDirType dirType )
- : KMFolderNode( tqparent, name ), KMFolderNodeList(),
+ : KMFolderNode( parent, name ), KMFolderNodeList(),
mOwner( owner ), mDirType( dirType )
{
setAutoDelete( true );
@@ -129,9 +129,9 @@ TQString KMFolderDir::path() const
{
static TQString p;
- if (tqparent())
+ if (parent())
{
- p = tqparent()->path();
+ p = parent()->path();
p.append("/");
p.append(name());
}
@@ -155,8 +155,8 @@ TQString KMFolderDir::label() const
TQString KMFolderDir::prettyURL() const
{
TQString parentUrl;
- if ( tqparent() )
- parentUrl = tqparent()->prettyURL();
+ if ( parent() )
+ parentUrl = parent()->prettyURL();
if ( !parentUrl.isEmpty() )
return parentUrl + '/' + label();
else
@@ -179,7 +179,7 @@ KMFolderType dirTypeToFolderType( KMFolderDirType dirType )
switch( dirType ) {
// Use maildir for normal folder dirs, as this function is only called when finding a dir
- // without a tqparent folder, which can only happen with maildir-like folders
+ // without a parent folder, which can only happen with maildir-like folders
case KMStandardDir: return KMFolderTypeMaildir;
case KMImapDir: return KMFolderTypeImap;
@@ -354,7 +354,7 @@ KMFolderNode* KMFolderDir::hasNamedFolder(const TQString& aName)
//-----------------------------------------------------------------------------
KMFolderMgr* KMFolderDir::manager() const
{
- return tqparent()->manager();
+ return parent()->manager();
}