summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvimagepart')
-rw-r--r--src/gvimagepart/gvimagepart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvimagepart/gvimagepart.cpp b/src/gvimagepart/gvimagepart.cpp
index 95712b5..95c67e3 100644
--- a/src/gvimagepart/gvimagepart.cpp
+++ b/src/gvimagepart/gvimagepart.cpp
@@ -194,7 +194,7 @@ void GVImagePart::slotLoading() {
}
void GVImagePart::slotLoaded(const KURL& url) {
- TQString caption = url.filename() + TQString(" - %1x%2").tqarg(mDocument->width()).tqarg(mDocument->height());
+ TQString caption = url.filename() + TQString(" - %1x%2").arg(mDocument->width()).arg(mDocument->height());
emit setWindowCaption(caption);
emit completed();
emit setStatusBarText(i18n("Done."));
@@ -363,7 +363,7 @@ void GVImagePart::saveOriginalAs() {
if (!file.open(IO_WriteOnly)) {
KMessageBox::error(
widget(),
- i18n("Could not open '%1' for writing.").tqarg(path));
+ i18n("Could not open '%1' for writing.").arg(path));
return;
}
storeData(widget(), &file, data);