diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-19 11:35:39 -0600 |
commit | eba1d381626d92b860239417f21d813f02ee6394 (patch) | |
tree | a1d29560015d98b2ad5aa047f919b8a81e0e9c4b /src/gvcore/documentloadedimpl.cpp | |
parent | d0bdd0d7a768f9935b521f3bd12a4cd72739b96f (diff) | |
download | gwenview-eba1d381626d92b860239417f21d813f02ee6394.tar.gz gwenview-eba1d381626d92b860239417f21d813f02ee6394.zip |
Remove additional unneeded tq method conversions
Diffstat (limited to 'src/gvcore/documentloadedimpl.cpp')
-rw-r--r-- | src/gvcore/documentloadedimpl.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gvcore/documentloadedimpl.cpp b/src/gvcore/documentloadedimpl.cpp index aacea94..31baec0 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.") - .tqarg(parent.filePath()); + .arg(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.") - .tqarg(reason); + .arg(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.") - .tqarg(reason); + .arg(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.").tqarg(url.path()); + return i18n("Could not write to %1.").arg(url.path()); } } else { if (!KIO::NetAccess::upload(tmp.name(), url, KApplication::kApplication()->mainWidget() )) { - return i18n("Could not upload the file to %1.").tqarg(url.prettyURL()); + return i18n("Could not upload the file to %1.").arg(url.prettyURL()); } } |