summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kfilereplaceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfilereplace/kfilereplaceview.cpp')
-rw-r--r--kfilereplace/kfilereplaceview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kfilereplace/kfilereplaceview.cpp b/kfilereplace/kfilereplaceview.cpp
index 104effcb..2de52edd 100644
--- a/kfilereplace/kfilereplaceview.cpp
+++ b/kfilereplace/kfilereplaceview.cpp
@@ -117,7 +117,7 @@ void KFileReplaceView::stringsInvert(bool invertAll)
// Cannot invert the string when search string is empty
if (replaceText.isEmpty())
{
- KMessageBox::error(0, i18n("<qt>Cannot invert string <b>%1</b>, because the search string would be empty.</qt>").tqarg(searchText));
+ KMessageBox::error(0, i18n("<qt>Cannot invert string <b>%1</b>, because the search string would be empty.</qt>").arg(searchText));
return;
}
@@ -256,7 +256,7 @@ void KFileReplaceView::slotResultEdit()
if(!success)
{
- TQString message = i18n("File %1 cannot be opened. Might be a DCOP problem.").tqarg(path);
+ TQString message = i18n("File %1 cannot be opened. Might be a DCOP problem.").arg(path);
KMessageBox::error(parentWidget(), message);
}
}
@@ -278,7 +278,7 @@ void KFileReplaceView::slotResultDelete()
if (!currItem.isEmpty())
{
TQFile fi;
- int answer = KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete %1?").tqarg(currItem),
+ int answer = KMessageBox::warningContinueCancel(this, i18n("Do you really want to delete %1?").arg(currItem),
TQString(),KStdGuiItem::del());
if(answer == KMessageBox::Continue)
@@ -417,7 +417,7 @@ void KFileReplaceView::slotStringsSave()
body += TQString("\n\t<replacement>"
"\n\t\t<oldstring><![CDATA[%1]]></oldstring>"
"\n\t\t<newstring><![CDATA[%2]]></newstring>"
- "\n\t</replacement>").tqarg(lvi->text(0)).tqarg(lvi->text(1));
+ "\n\t</replacement>").arg(lvi->text(0)).arg(lvi->text(1));
lvi = lvi->nextSibling();
}
@@ -434,7 +434,7 @@ void KFileReplaceView::slotStringsSave()
TQFile file( fileName );
if(!file.open( IO_WriteOnly ))
{
- KMessageBox::error(0, i18n("File %1 cannot be saved.").tqarg(fileName));
+ KMessageBox::error(0, i18n("File %1 cannot be saved.").arg(fileName));
return ;
}
TQTextStream oTStream( &file );