diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch) | |
tree | 0212ba6d2c749043134005a41f2bd0379619d40f /kmail/kmfolderdir.cpp | |
parent | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff) | |
download | tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmfolderdir.cpp')
-rw-r--r-- | kmail/kmfolderdir.cpp | 16 |
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(); } |