diff options
Diffstat (limited to 'knode/knarticlemanager.cpp')
-rw-r--r-- | knode/knarticlemanager.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp index d1aec96a1..4e97c2d2b 100644 --- a/knode/knarticlemanager.cpp +++ b/knode/knarticlemanager.cpp @@ -74,21 +74,21 @@ void KNArticleManager::deleteTempFiles() } -void KNArticleManager::saveContentToFile(KMime::Content *c, TQWidget *parent) +void KNArticleManager::saveContentToFile(KMime::Content *c, TQWidget *tqparent) { - KNSaveHelper helper(c->contentType()->name(),parent); + KNSaveHelper helper(c->contentType()->name(),tqparent); TQFile *file = helper.getFile(i18n("Save Attachment")); if (file) { TQByteArray data=c->decodedContent(); if (file->writeBlock(data.data(), data.size()) == -1 ) - KNHelper::displayExternalFileError( parent ); + KNHelper::displayExternalFileError( tqparent ); } } -void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *parent) +void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *tqparent) { TQString fName = a->subject()->asUnicodeString(); TQString s = ""; @@ -101,13 +101,13 @@ void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *parent) fName = s.simplifyWhiteSpace(); fName.tqreplace(TQRegExp("[\\s]"),"_"); - KNSaveHelper helper(fName,parent); + KNSaveHelper helper(fName,tqparent); TQFile *file = helper.getFile(i18n("Save Article")); if (file) { TQCString tmp=a->encodedContent(false); if ( file->writeBlock(tmp.data(), tmp.size()) == -1 ) - KNHelper::displayExternalFileError( parent ); + KNHelper::displayExternalFileError( tqparent ); } } @@ -140,7 +140,7 @@ TQString KNArticleManager::saveContentToTemp(KMime::Content *c) if (tmpFile->status()!=0) { KNHelper::displayTempFileError(); delete tmpFile; - return TQString::null; + return TQString(); } mTempFiles.append(tmpFile); @@ -272,7 +272,7 @@ void KNArticleManager::showHdrs(bool clear) } - if (current && !current->filterResult()) { // try to find a parent that is visible + if (current && !current->filterResult()) { // try to find a tqparent that is visible int idRef; while (current && !current->filterResult()) { idRef=current->idRef(); @@ -324,7 +324,7 @@ void KNArticleManager::showHdrs(bool clear) knGlobals.top->articleViewer()->setArticle( 0 ); } - knGlobals.seStatusMsg(TQString::null); + knGlobals.seStatusMsg(TQString()); updateStatusString(); knGlobals.top->setCursorBusy(false); } @@ -997,7 +997,7 @@ void KNArticleManager::updateStatusString() if(f_ilter) knGlobals.seStatusMsg(i18n(" Filter: %1").arg(f_ilter->translatedName()), SB_FILTER); else - knGlobals.seStatusMsg(TQString::null, SB_FILTER); + knGlobals.seStatusMsg(TQString(), SB_FILTER); } else if(f_older) { if(f_ilter) @@ -1006,10 +1006,10 @@ void KNArticleManager::updateStatusString() displCnt=f_older->count(); knGlobals.seStatusMsg(i18n(" %1: %2 displayed") .arg(f_older->name()).arg(displCnt), SB_GROUP); - knGlobals.seStatusMsg(TQString::null, SB_FILTER); + knGlobals.seStatusMsg(TQString(), SB_FILTER); } else { - knGlobals.seStatusMsg(TQString::null, SB_GROUP); - knGlobals.seStatusMsg(TQString::null, SB_FILTER); + knGlobals.seStatusMsg(TQString(), SB_GROUP); + knGlobals.seStatusMsg(TQString(), SB_FILTER); } } |