summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/kparametereditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/kparametereditor.cpp')
-rw-r--r--kmplot/kmplot/kparametereditor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmplot/kmplot/kparametereditor.cpp b/kmplot/kmplot/kparametereditor.cpp
index 17586610..32ca2573 100644
--- a/kmplot/kmplot/kparametereditor.cpp
+++ b/kmplot/kmplot/kparametereditor.cpp
@@ -35,7 +35,7 @@
#include <ktempfile.h>
#include <kurl.h>
#include <tqfile.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqvaluelist.h>
#include "kparametereditor.h"
@@ -89,7 +89,7 @@ void KParameterEditor::cmdNew_clicked()
}
if ( checkTwoOfIt(result) )
{
- KMessageBox::error(0,i18n("The value %1 already exists and will therefore not be added.").tqarg(result));
+ KMessageBox::error(0,i18n("The value %1 already exists and will therefore not be added.").arg(result));
continue;
}
list->insertItem(result);
@@ -116,7 +116,7 @@ void KParameterEditor::cmdEdit_clicked()
if ( checkTwoOfIt(result) )
{
if( result != list->currentText() )
- KMessageBox::error(0,i18n("The value %1 already exists.").tqarg(result));
+ KMessageBox::error(0,i18n("The value %1 already exists.").arg(result));
continue;
}
list->removeItem( list->currentItem());
@@ -179,7 +179,7 @@ void KParameterEditor::cmdImport_clicked()
}
else if ( !verbose)
{
- if ( KMessageBox::warningContinueCancel(this,i18n("Line %1 is not a valid parameter value and will therefore not be included. Do you want to continue?").tqarg(i) ) == KMessageBox::Cancel)
+ if ( KMessageBox::warningContinueCancel(this,i18n("Line %1 is not a valid parameter value and will therefore not be included. Do you want to continue?").arg(i) ) == KMessageBox::Cancel)
{
file.close();
KIO::NetAccess::removeTempFile( tmpfile );
@@ -206,7 +206,7 @@ void KParameterEditor::cmdExport_clicked()
if ( url.isEmpty() )
return;
- if( !KIO::NetAccess::exists( url,false,this ) || KMessageBox::warningContinueCancel( this, i18n( "A file named \"%1\" already exists. Are you sure you want to continue and overwrite this file?" ).tqarg( url.url()), i18n( "Overwrite File?" ), KGuiItem( i18n( "&Overwrite" ) ) ) == KMessageBox::Continue )
+ if( !KIO::NetAccess::exists( url,false,this ) || KMessageBox::warningContinueCancel( this, i18n( "A file named \"%1\" already exists. Are you sure you want to continue and overwrite this file?" ).arg( url.url()), i18n( "Overwrite File?" ), KGuiItem( i18n( "&Overwrite" ) ) ) == KMessageBox::Continue )
{
TQString tmpfile;
TQFile file;