diff options
Diffstat (limited to 'filesharing/advanced/propsdlgplugin/propertiespage.cpp')
-rw-r--r-- | filesharing/advanced/propsdlgplugin/propertiespage.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp index d0f23a07..f32ba757 100644 --- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp +++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp @@ -52,8 +52,8 @@ #define FILESHARE_DEBUG 5009 -PropertiesPage::PropertiesPage(TQWidget* parent, KFileItemList items,bool enterUrl) - : PropertiesPageGUI(parent), +PropertiesPage::PropertiesPage(TQWidget* tqparent, KFileItemList items,bool enterUrl) + : PropertiesPageGUI(tqparent), m_enterUrl(enterUrl), m_items(items), m_nfsFile(0), @@ -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;") - .arg(KProcess::quote( nfsTempFile.name() )) - .arg(KProcess::quote( nfsFileName )); + .tqarg(KProcess::quote( nfsTempFile.name() )) + .tqarg(KProcess::quote( nfsFileName )); } if (sambaNeedsKDEsu) { sambaFile->saveTo(sambaTempFile.name()); command += TQString("cp %1 %2;") - .arg(KProcess::quote( sambaTempFile.name() )) - .arg(KProcess::quote( sambaFileName )); + .tqarg(KProcess::quote( sambaTempFile.name() )) + .tqarg(KProcess::quote( sambaFileName )); } proc<<"kdesu" << "-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>").arg(sambaNameEdit->text())); + 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())); sambaNameEdit->selectAll(); sambaNameEdit->setFocus(); return false; |