diff options
Diffstat (limited to 'kmail/kmfoldernode.cpp')
-rw-r--r-- | kmail/kmfoldernode.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmfoldernode.cpp b/kmail/kmfoldernode.cpp index e27a88f81..e8ba86f52 100644 --- a/kmail/kmfoldernode.cpp +++ b/kmail/kmfoldernode.cpp @@ -7,9 +7,9 @@ #include "kmfolderdir.h" //----------------------------------------------------------------------------- -KMFolderNode::KMFolderNode( KMFolderDir * parent, const TQString & name ) +KMFolderNode::KMFolderNode( KMFolderDir * tqparent, const TQString & name ) : mName( name ), - mParent( parent ), + mParent( tqparent ), mDir( false ), mId( 0 ) { @@ -31,8 +31,8 @@ bool KMFolderNode::isDir(void) const //----------------------------------------------------------------------------- TQString KMFolderNode::path() const { - if (parent()) return parent()->path(); - return TQString::null; + if (tqparent()) return tqparent()->path(); + return TQString(); } //----------------------------------------------------------------------------- @@ -42,7 +42,7 @@ TQString KMFolderNode::label(void) const } //----------------------------------------------------------------------------- -KMFolderDir* KMFolderNode::parent(void) const +KMFolderDir* KMFolderNode::tqparent(void) const { return mParent; } |