summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolder.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /kmail/kmfolder.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-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/kmfolder.cpp')
-rw-r--r--kmail/kmfolder.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/kmfolder.cpp b/kmail/kmfolder.cpp
index 08fe43e01..df8b4daf1 100644
--- a/kmail/kmfolder.cpp
+++ b/kmail/kmfolder.cpp
@@ -90,13 +90,13 @@ KMFolder::KMFolder( KMFolderDir* aParent, const TQString& aFolderName,
connect( mStorage, TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ),
aParent->manager(), TQT_SIGNAL( msgAdded( KMFolder*, TQ_UINT32 ) ) );
connect( mStorage, TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ),
- tqparent()->manager(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
+ parent()->manager(), TQT_SIGNAL( msgRemoved( KMFolder*, TQ_UINT32 ) ) );
connect( this, TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ),
- tqparent()->manager(), TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ) );
+ parent()->manager(), TQT_SIGNAL( msgChanged( KMFolder*, TQ_UINT32, int ) ) );
connect( this, TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ),
- tqparent()->manager(), TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
+ parent()->manager(), TQT_SIGNAL( msgHeaderChanged( KMFolder*, int ) ) );
connect( mStorage, TQT_SIGNAL( invalidated( KMFolder* ) ),
- tqparent()->manager(), TQT_SIGNAL( folderInvalidated( KMFolder* ) ) );
+ parent()->manager(), TQT_SIGNAL( folderInvalidated( KMFolder* ) ) );
}
// Resend all mStorage signals
@@ -284,11 +284,11 @@ KMFolderDir* KMFolder::createChildFolder()
else if( folderType() == KMFolderTypeImap )
newType = KMImapDir;
- mChild = new KMFolderDir( this, tqparent(), childName, newType );
+ mChild = new KMFolderDir( this, parent(), childName, newType );
if( !mChild )
return 0;
mChild->reload();
- tqparent()->append( mChild );
+ parent()->append( mChild );
return mChild;
}
@@ -593,8 +593,8 @@ TQString KMFolder::label() const
TQString KMFolder::prettyURL() const
{
TQString parentUrl;
- if ( tqparent() )
- parentUrl = tqparent()->prettyURL();
+ if ( parent() )
+ parentUrl = parent()->prettyURL();
if ( !parentUrl.isEmpty() )
return parentUrl + '/' + label();
else
@@ -704,11 +704,11 @@ void KMFolder::correctUnreadMsgsCount()
TQString KMFolder::idString() const
{
- KMFolderNode* folderNode = tqparent();
+ KMFolderNode* folderNode = parent();
if (!folderNode)
return "";
- while ( folderNode->tqparent() )
- folderNode = folderNode->tqparent();
+ while ( folderNode->parent() )
+ folderNode = folderNode->parent();
TQString myPath = path();
int pathLen = myPath.length() - folderNode->path().length();
TQString relativePath = myPath.right( pathLen );
@@ -890,7 +890,7 @@ void KMFolder::slotContentsTypeChanged( KMail::FolderContentsType type )
void KMFolder::slotFolderSizeChanged()
{
emit folderSizeChanged( this );
- KMFolder* papa = tqparent()->manager()->parentFolder( this );
+ KMFolder* papa = parent()->manager()->parentFolder( this );
if ( papa && papa != this ) {
papa->slotFolderSizeChanged();
}