diff options
Diffstat (limited to 'kmail/kmfolderimap.cpp')
-rw-r--r-- | kmail/kmfolderimap.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmfolderimap.cpp b/kmail/kmfolderimap.cpp index 38e025bc4..303b7b01f 100644 --- a/kmail/kmfolderimap.cpp +++ b/kmail/kmfolderimap.cpp @@ -153,19 +153,19 @@ KMMessage* KMFolderImap::getMsg(int idx) KMAcctImap* KMFolderImap::account() const { if ( !mAccount ) { - KMFolderDir *tqparentFolderDir = dynamic_cast<KMFolderDir*>( folder()->tqparent() ); - if ( !tqparentFolderDir ) { + KMFolderDir *parentFolderDir = dynamic_cast<KMFolderDir*>( folder()->tqparent() ); + if ( !parentFolderDir ) { kdWarning() << k_funcinfo << "No tqparent folder dir found for " << name() << endl; return 0; } - KMFolder *tqparentFolder = tqparentFolderDir->owner(); - if ( !tqparentFolder ) { + KMFolder *parentFolder = parentFolderDir->owner(); + if ( !parentFolder ) { kdWarning() << k_funcinfo << "No tqparent folder found for " << name() << endl; return 0; } - KMFolderImap *tqparentStorage = dynamic_cast<KMFolderImap*>( tqparentFolder->storage() ); - if ( tqparentStorage ) - mAccount = tqparentStorage->account(); + KMFolderImap *parentStorage = dynamic_cast<KMFolderImap*>( parentFolder->storage() ); + if ( parentStorage ) + mAccount = parentStorage->account(); } return mAccount; } @@ -1718,17 +1718,17 @@ void KMFolderImap::slotGetMessagesResult(KIO::Job * job) //----------------------------------------------------------------------------- -void KMFolderImap::createFolder(const TQString &name, const TQString& tqparentPath, +void KMFolderImap::createFolder(const TQString &name, const TQString& parentPath, bool askUser) { kdDebug(5006) << "KMFolderImap::createFolder - name=" << name << ",tqparent=" << - tqparentPath << ",askUser=" << askUser << endl; + parentPath << ",askUser=" << askUser << endl; if ( account()->makeConnection() != ImapAccountBase::Connected ) { kdWarning(5006) << "KMFolderImap::createFolder - got no connection" << endl; return; } KURL url = account()->getUrl(); - TQString tqparent = ( tqparentPath.isEmpty() ? imapPath() : tqparentPath ); + TQString tqparent = ( parentPath.isEmpty() ? imapPath() : parentPath ); TQString path = account()->createImapPath( tqparent, name ); if ( askUser ) { path += "/;INFO=ASKUSER"; |