summaryrefslogtreecommitdiffstats
path: root/kmail/newfolderdialog.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/newfolderdialog.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/newfolderdialog.cpp')
-rw-r--r--kmail/newfolderdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/newfolderdialog.cpp b/kmail/newfolderdialog.cpp
index 11a52043b..e6fed27be 100644
--- a/kmail/newfolderdialog.cpp
+++ b/kmail/newfolderdialog.cpp
@@ -55,8 +55,8 @@
using namespace KMail;
-NewFolderDialog::NewFolderDialog( TQWidget* tqparent, KMFolder *folder )
- : KDialogBase( tqparent, "new_folder_dialog", false, i18n( "New Folder" ),
+NewFolderDialog::NewFolderDialog( TQWidget* parent, KMFolder *folder )
+ : KDialogBase( parent, "new_folder_dialog", false, i18n( "New Folder" ),
KDialogBase::Ok|KDialogBase::Cancel,
KDialogBase::Ok, true ),
mFormatComboBox( 0 ),
@@ -201,16 +201,16 @@ void NewFolderDialog::slotOk()
return;
}
- // default tqparent is Top Level local folders
+ // default parent is Top Level local folders
KMFolderDir * selectedFolderDir = &(kmkernel->folderMgr()->dir());
- // we got a tqparent, let's use that
+ // we got a parent, let's use that
if ( mFolder )
selectedFolderDir = mFolder->createChildFolder();
// check if the folder already exists
if( selectedFolderDir->hasNamedFolder( fldName )
&& ( !( mFolder
- && ( selectedFolderDir == mFolder->tqparent() )
+ && ( selectedFolderDir == mFolder->parent() )
&& ( mFolder->storage()->name() == fldName ) ) ) )
{
const TQString message = i18n( "<qt>Failed to create folder <b>%1</b>, folder already exists.</qt>" ).tqarg(fldName);