summaryrefslogtreecommitdiffstats
path: root/kmail/kmfolderdia.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdfb7562b7e607f0ae077a6a436966203029df56d (patch)
treed58abf870c3754458d44a192a0b9e186f506c4ed /kmail/kmfolderdia.cpp
parentfc5197ec86abe5dc0fa4b48979684845b52357f2 (diff)
downloadtdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz
tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmfolderdia.cpp')
-rw-r--r--kmail/kmfolderdia.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/kmfolderdia.cpp b/kmail/kmfolderdia.cpp
index 9d514614f..a7ebe5c1d 100644
--- a/kmail/kmfolderdia.cpp
+++ b/kmail/kmfolderdia.cpp
@@ -272,8 +272,8 @@ KMail::FolderDiaGeneralTab::FolderDiaGeneralTab( KMFolderDialog* dlg,
// Determine if we are allowed to rename this folder. Only possible if the folder supports
// ACLs.
bool nameChangeAllowed = true;
- if ( mDlg->folder() && mDlg->tqparentFolder() &&
- mDlg->folder()->storage() && mDlg->tqparentFolder()->storage() &&
+ if ( mDlg->folder() && mDlg->parentFolder() &&
+ mDlg->folder()->storage() && mDlg->parentFolder()->storage() &&
( mDlg->folder()->folderType() == KMFolderTypeCachedImap ||
mDlg->folder()->folderType() == KMFolderTypeImap ) ) {
ImapAccountBase *account = 0;
@@ -289,31 +289,31 @@ KMail::FolderDiaGeneralTab::FolderDiaGeneralTab( KMFolderDialog* dlg,
}
if ( account && account->hasACLSupport() ) {
- int tqparentRights = -1;
+ int parentRights = -1;
int folderRights = -1;
- bool tqparentRightsOk = false;
+ bool parentRightsOk = false;
bool folderRightsOk = false;
if ( imap ) {
- KMFolderImap * const tqparent = dynamic_cast<KMFolderImap*>( mDlg->tqparentFolder()->storage() );
+ KMFolderImap * const tqparent = dynamic_cast<KMFolderImap*>( mDlg->parentFolder()->storage() );
folderRights = imap->userRights();
folderRightsOk = imap->userRightsState() == KMail::ACLJobs::Ok;
if ( tqparent ) {
- tqparentRights = tqparent->userRights();
- tqparentRightsOk = tqparent->userRightsState() == KMail::ACLJobs::Ok;
+ parentRights = tqparent->userRights();
+ parentRightsOk = tqparent->userRightsState() == KMail::ACLJobs::Ok;
}
} else if ( dimap ) {
- KMFolderCachedImap * const tqparent = dynamic_cast<KMFolderCachedImap*>( mDlg->tqparentFolder()->storage() );
+ KMFolderCachedImap * const tqparent = dynamic_cast<KMFolderCachedImap*>( mDlg->parentFolder()->storage() );
folderRights = dimap->userRights();
folderRightsOk = dimap->userRightsState() == KMail::ACLJobs::Ok;
if ( tqparent ) {
- tqparentRights = tqparent->userRights();
- tqparentRightsOk = tqparent->userRightsState() == KMail::ACLJobs::Ok;
+ parentRights = tqparent->userRights();
+ parentRightsOk = tqparent->userRightsState() == KMail::ACLJobs::Ok;
}
}
// For renaming, we need support for deleting the mailbox and then re-creating it.
- if ( tqparentRightsOk && folderRightsOk &&
- ( !( tqparentRights & KMail::ACLJobs::Create ) || !( folderRights & KMail::ACLJobs::Delete ) ) ) {
+ if ( parentRightsOk && folderRightsOk &&
+ ( !( parentRights & KMail::ACLJobs::Create ) || !( folderRights & KMail::ACLJobs::Delete ) ) ) {
nameChangeAllowed = false;
}
}
@@ -702,9 +702,9 @@ bool FolderDiaGeneralTab::save()
else
fldName = oldFldName;
- if ( mDlg->tqparentFolder() &&
- mDlg->tqparentFolder()->folderType() != KMFolderTypeImap &&
- mDlg->tqparentFolder()->folderType() != KMFolderTypeCachedImap )
+ if ( mDlg->parentFolder() &&
+ mDlg->parentFolder()->folderType() != KMFolderTypeImap &&
+ mDlg->parentFolder()->folderType() != KMFolderTypeCachedImap )
fldName.remove('/');
fldName.remove(TQRegExp("^\\.*"));
if (fldName.isEmpty()) fldName = i18n("unnamed");