diff options
Diffstat (limited to 'filesharing/advanced/propsdlgplugin')
-rw-r--r-- | filesharing/advanced/propsdlgplugin/propertiespage.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp index b52fd8fc..5ff1af7b 100644 --- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp +++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp @@ -211,15 +211,15 @@ bool PropertiesPage::save(NFSFile* nfsFile, SambaFile* sambaFile, bool nfs, bool if (nfsNeedsKDEsu) { nfsFile->saveTo(nfsTempFile.name()); command += TQString("cp %1 %2;exportfs -ra;") - .tqarg(KProcess::quote( nfsTempFile.name() )) - .tqarg(KProcess::quote( nfsFileName )); + .arg(KProcess::quote( nfsTempFile.name() )) + .arg(KProcess::quote( nfsFileName )); } if (sambaNeedsKDEsu) { sambaFile->saveTo(sambaTempFile.name()); command += TQString("cp %1 %2;") - .tqarg(KProcess::quote( sambaTempFile.name() )) - .tqarg(KProcess::quote( sambaFileName )); + .arg(KProcess::quote( sambaTempFile.name() )) + .arg(KProcess::quote( sambaFileName )); } proc<<"tdesu" << "-d" << "-c"<<command; @@ -527,7 +527,7 @@ bool PropertiesPage::updateSambaShare() { SambaShare* otherShare = m_sambaFile->getShare(sambaNameEdit->text()); if (otherShare && otherShare != m_sambaShare) { // There is another Share with the same name - KMessageBox::sorry(this, i18n("<qt>There is already a share with the name <strong>%1</strong>.<br> Please choose another name.</qt>").tqarg(sambaNameEdit->text())); + KMessageBox::sorry(this, i18n("<qt>There is already a share with the name <strong>%1</strong>.<br> Please choose another name.</qt>").arg(sambaNameEdit->text())); sambaNameEdit->selectAll(); sambaNameEdit->setFocus(); return false; |