diff options
Diffstat (limited to 'lanbrowsing/kcmlisa/kcmlisa.cpp')
-rw-r--r-- | lanbrowsing/kcmlisa/kcmlisa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lanbrowsing/kcmlisa/kcmlisa.cpp b/lanbrowsing/kcmlisa/kcmlisa.cpp index 3a9e061d..21f51474 100644 --- a/lanbrowsing/kcmlisa/kcmlisa.cpp +++ b/lanbrowsing/kcmlisa/kcmlisa.cpp @@ -288,7 +288,7 @@ void LisaSettings::save() confStream<<"PingNames = "<<writeStuff.latin1()<<"\n"; tmp.close(); - TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").tqarg(m_tmpFilename).tqarg(m_configFilename).tqarg(m_configFilename).tqarg(m_tmpFilename); + TQString suCommand=TQString("cp '%1' '%2'; chmod 644 '%3'; rm -f '%4'").arg(m_tmpFilename).arg(m_configFilename).arg(m_configFilename).arg(m_tmpFilename); KProcess *proc = new KProcess(); connect(proc, TQT_SIGNAL(processExited(KProcess *)), this, TQT_SLOT(saveDone(KProcess *))); *proc<<"tdesu"<<"-c"<<suCommand; @@ -298,7 +298,7 @@ void LisaSettings::save() delete proc; } else - KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").tqarg(m_configFilename)); + KMessageBox::sorry(0,i18n("Saving the results to %1 failed.").arg(m_configFilename)); } } @@ -337,7 +337,7 @@ void LisaSettings::suggestSettings() { msg+="<b>"+tmp->name+": </b>"+tmp->addr+"/"+tmp->netmask+";<br>"; } - KMessageBox::information(0,TQString("<html>%1</html>").tqarg(msg)); + KMessageBox::information(0,TQString("<html>%1</html>").arg(msg)); } emit changed(); |