summaryrefslogtreecommitdiffstats
path: root/knode/knarticlemanager.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 /knode/knarticlemanager.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 'knode/knarticlemanager.cpp')
-rw-r--r--knode/knarticlemanager.cpp14
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();