diff options
Diffstat (limited to 'knode/knarticlemanager.cpp')
-rw-r--r-- | knode/knarticlemanager.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp index e871b1f5c..ab9c97eac 100644 --- a/knode/knarticlemanager.cpp +++ b/knode/knarticlemanager.cpp @@ -74,21 +74,21 @@ void KNArticleManager::deleteTempFiles() } -void KNArticleManager::saveContentToFile(KMime::Content *c, TQWidget *tqparent) +void KNArticleManager::saveContentToFile(KMime::Content *c, TQWidget *parent) { - KNSaveHelper helper(c->contentType()->name(),tqparent); + KNSaveHelper helper(c->contentType()->name(),parent); TQFile *file = helper.getFile(i18n("Save Attachment")); if (file) { TQByteArray data=c->decodedContent(); if (file->writeBlock(data.data(), data.size()) == -1 ) - KNHelper::displayExternalFileError( tqparent ); + KNHelper::displayExternalFileError( parent ); } } -void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *tqparent) +void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *parent) { TQString fName = a->subject()->asUnicodeString(); TQString s = ""; @@ -101,13 +101,13 @@ void KNArticleManager::saveArticleToFile(KNArticle *a, TQWidget *tqparent) fName = s.simplifyWhiteSpace(); fName.replace(TQRegExp("[\\s]"),"_"); - KNSaveHelper helper(fName,tqparent); + KNSaveHelper helper(fName,parent); TQFile *file = helper.getFile(i18n("Save Article")); if (file) { TQCString tmp=a->encodedContent(false); if ( file->writeBlock(tmp.data(), tmp.size()) == -1 ) - KNHelper::displayExternalFileError( tqparent ); + KNHelper::displayExternalFileError( parent ); } } @@ -272,7 +272,7 @@ void KNArticleManager::showHdrs(bool clear) } - if (current && !current->filterResult()) { // try to find a tqparent that is visible + if (current && !current->filterResult()) { // try to find a parent that is visible int idRef; while (current && !current->filterResult()) { idRef=current->idRef(); |