summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentloadedimpl.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:46 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:55:46 -0600
commit676f6ed378c861a872de8cfce3dd5efe1780f769 (patch)
treed2b21aa5311322aadc3c5c64a4932fdf371acc98 /src/gvcore/documentloadedimpl.cpp
parent2b7143e0539396c75306f6e78bf0a5641ed1acfc (diff)
downloadgwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.tar.gz
gwenview-676f6ed378c861a872de8cfce3dd5efe1780f769.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 2b7143e0539396c75306f6e78bf0a5641ed1acfc.
Diffstat (limited to 'src/gvcore/documentloadedimpl.cpp')
-rw-r--r--src/gvcore/documentloadedimpl.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gvcore/documentloadedimpl.cpp b/src/gvcore/documentloadedimpl.cpp
index 31baec0..aacea94 100644
--- a/src/gvcore/documentloadedimpl.cpp
+++ b/src/gvcore/documentloadedimpl.cpp
@@ -134,7 +134,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con
if (!parent.isWritable()) {
return
i18n("The %1 folder is read-only.")
- .arg(parent.filePath());
+ .tqarg(parent.filePath());
}
}
}
@@ -152,7 +152,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con
if (tmp.status()!=0) {
TQString reason( strerror(tmp.status()) );
return i18n("Could not create a temporary file.\nReason: %1.")
- .arg(reason);
+ .tqarg(reason);
}
TQFile* file=tmp.file();
msg=localSave(file, format);
@@ -162,7 +162,7 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con
if (tmp.status()!=0) {
TQString reason( strerror(tmp.status()) );
return i18n("Saving image to a temporary file failed.\nReason: %1.")
- .arg(reason);
+ .tqarg(reason);
}
TQString tmpName=tmp.name();
@@ -172,11 +172,11 @@ TQString DocumentLoadedImpl::save(const KURL& _url, const TQCString& format) con
// Move the tmp file to the final dest
if (url.isLocalFile()) {
if( ::rename( TQFile::encodeName(tmpName), TQFile::encodeName( url.path())) < 0 ) {
- return i18n("Could not write to %1.").arg(url.path());
+ return i18n("Could not write to %1.").tqarg(url.path());
}
} else {
if (!KIO::NetAccess::upload(tmp.name(), url, KApplication::kApplication()->mainWidget() )) {
- return i18n("Could not upload the file to %1.").arg(url.prettyURL());
+ return i18n("Could not upload the file to %1.").tqarg(url.prettyURL());
}
}