summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/findimages/displaycompare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/findimages/displaycompare.cpp')
-rw-r--r--kipi-plugins/findimages/displaycompare.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kipi-plugins/findimages/displaycompare.cpp b/kipi-plugins/findimages/displaycompare.cpp
index a11966e..e966189 100644
--- a/kipi-plugins/findimages/displaycompare.cpp
+++ b/kipi-plugins/findimages/displaycompare.cpp
@@ -308,7 +308,7 @@ void DisplayCompare::slotDelete( void )
KURL deleteImage(item->fullpath());
if ( KIO::NetAccess::del(deleteImage) == false )
- KMessageBox::error(this, i18n("Cannot remove duplicate file:\n%1").tqarg(item->fullpath()));
+ KMessageBox::error(this, i18n("Cannot remove duplicate file:\n%1").arg(item->fullpath()));
else
m_interface->delImage( deleteImage );
@@ -329,7 +329,7 @@ void DisplayCompare::slotDelete( void )
KURL deleteImage(item->fullpath());
if ( KIO::NetAccess::del(deleteImage) == false )
- KMessageBox::error(this, i18n("Cannot remove original file:\n%1").tqarg(item->fullpath()));
+ KMessageBox::error(this, i18n("Cannot remove original file:\n%1").arg(item->fullpath()));
item->setOn( false );
}
@@ -350,14 +350,14 @@ void DisplayCompare::slotDisplayLeft(TQListViewItem * item)
if ( !im.isNull() )
{
OriginalNameLabel->setText(pitem->name());
- originalInfoLabel1->setText(i18n("Image size: %1x%2 pixels").tqarg(im.width()).tqarg(im.height()));
+ originalInfoLabel1->setText(i18n("Image size: %1x%2 pixels").arg(im.width()).arg(im.height()));
originalInfoLabel2->setText(i18n("File size: 1 byte",
"File size: %n bytes",TQFileInfo(pitem->fullpath()).size()));
- originalInfoLabel3->setText(i18n("Modified: %1").tqarg(KLocale(NULL)
+ originalInfoLabel3->setText(i18n("Modified: %1").arg(KLocale(NULL)
.formatDateTime(TQFileInfo(pitem->fullpath())
.lastModified())));
- originalInfoLabel4->setText(i18n("Album: %1").tqarg(pitem->album()));
- originalInfoLabel5->setText(i18n("Comments: %1").tqarg(pitem->comments()));
+ originalInfoLabel4->setText(i18n("Album: %1").arg(pitem->album()));
+ originalInfoLabel5->setText(i18n("Comments: %1").arg(pitem->comments()));
}
preview1->clear();
@@ -427,14 +427,14 @@ void DisplayCompare::slotDisplayRight(TQListViewItem * item)
if ( !im.isNull() )
{
similarNameLabel->setText(pitem->name());
- similarInfoLabel1->setText(i18n("Image size: %1x%2 pixels").tqarg(im.width()).tqarg(im.height()));
+ similarInfoLabel1->setText(i18n("Image size: %1x%2 pixels").arg(im.width()).arg(im.height()));
similarInfoLabel2->setText(i18n("File size: 1 byte",
"File size: %n bytes", TQFileInfo(pitem->fullpath()).size()));
- similarInfoLabel3->setText(i18n("Modified: %1").tqarg(KLocale(NULL)
+ similarInfoLabel3->setText(i18n("Modified: %1").arg(KLocale(NULL)
.formatDateTime(TQFileInfo(pitem->fullpath())
.lastModified())));
- similarInfoLabel4->setText(i18n("Album: %1").tqarg(pitem->album()));
- similarInfoLabel5->setText(i18n("Caption: %1").tqarg(pitem->comments()));
+ similarInfoLabel4->setText(i18n("Album: %1").arg(pitem->album()));
+ similarInfoLabel5->setText(i18n("Caption: %1").arg(pitem->comments()));
}
preview2->clear();