diff options
Diffstat (limited to 'kmail/importjob.cpp')
-rw-r--r-- | kmail/importjob.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/importjob.cpp b/kmail/importjob.cpp index 9aaf4b957..a84ecf519 100644 --- a/kmail/importjob.cpp +++ b/kmail/importjob.cpp @@ -39,11 +39,11 @@ using namespace KMail; -KMail::ImportJob::ImportJob( TQWidget *tqparentWidget ) - : TQObject( tqparentWidget ), +KMail::ImportJob::ImportJob( TQWidget *parentWidget ) + : TQObject( parentWidget ), mArchive( 0 ), mRootFolder( 0 ), - mParentWidget( tqparentWidget ), + mParentWidget( parentWidget ), mNumberOfImportedMessages( 0 ), mCurrentFolder( 0 ), mCurrentMessage( 0 ), @@ -280,19 +280,19 @@ static TQString folderNameForDirectoryName( const TQString &dirName ) return returnName; } -KMFolder* KMail::ImportJob::getOrCreateSubFolder( KMFolder *tqparentFolder, const TQString &subFolderName, +KMFolder* KMail::ImportJob::getOrCreateSubFolder( KMFolder *parentFolder, const TQString &subFolderName, mode_t subFolderPermissions ) { - if ( !tqparentFolder->createChildFolder() ) { - abort( i18n( "Unable to create subfolder for folder '%1'." ).tqarg( tqparentFolder->name() ) ); + if ( !parentFolder->createChildFolder() ) { + abort( i18n( "Unable to create subfolder for folder '%1'." ).tqarg( parentFolder->name() ) ); return 0; } KMFolder *subFolder = 0; - subFolder = dynamic_cast<KMFolder*>( tqparentFolder->child()->hasNamedFolder( subFolderName ) ); + subFolder = dynamic_cast<KMFolder*>( parentFolder->child()->hasNamedFolder( subFolderName ) ); if ( !subFolder ) { - subFolder = createSubFolder( tqparentFolder, subFolderName, subFolderPermissions ); + subFolder = createSubFolder( parentFolder, subFolderName, subFolderPermissions ); } return subFolder; } |