From 83677e35509b4dafac63b76995652bdf3b49f209 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:59:34 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 808e453c56036211f57482ed847d54aca01bba68. --- .../advanced/propsdlgplugin/propertiespage.cpp | 10 +++++----- .../advanced/propsdlgplugin/propertiespagegui.ui | 22 +++++++++++----------- .../propsdlgplugin/propsdlgshareplugin.cpp | 2 +- 3 files changed, 17 insertions(+), 17 deletions(-) (limited to 'filesharing/advanced/propsdlgplugin') diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp index 5ff1af7b..b52fd8fc 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;") - .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<<"tdesu" << "-d" << "-c"<getShare(sambaNameEdit->text()); if (otherShare && otherShare != m_sambaShare) { // There is another Share with the same name - KMessageBox::sorry(this, i18n("There is already a share with the name %1.
Please choose another name.
").arg(sambaNameEdit->text())); + KMessageBox::sorry(this, i18n("There is already a share with the name %1.
Please choose another name.
").tqarg(sambaNameEdit->text())); sambaNameEdit->selectAll(); sambaNameEdit->setFocus(); return false; diff --git a/filesharing/advanced/propsdlgplugin/propertiespagegui.ui b/filesharing/advanced/propsdlgplugin/propertiespagegui.ui index a41de020..3ba4aca5 100644 --- a/filesharing/advanced/propsdlgplugin/propertiespagegui.ui +++ b/filesharing/advanced/propsdlgplugin/propertiespagegui.ui @@ -21,7 +21,7 @@ - layout6 + tqlayout6 @@ -108,7 +108,7 @@ - layout6 + tqlayout6 @@ -146,7 +146,7 @@ Expanding - + 40 20 @@ -157,7 +157,7 @@ - layout4 + tqlayout4 @@ -181,7 +181,7 @@ Expanding - + 156 20 @@ -216,7 +216,7 @@ - layout3 + tqlayout3 @@ -239,7 +239,7 @@ - layout5 + tqlayout5 @@ -277,7 +277,7 @@ Expanding - + 40 20 @@ -288,7 +288,7 @@ - layout3 + tqlayout3 @@ -312,7 +312,7 @@ Expanding - + 40 20 @@ -335,7 +335,7 @@ Expanding - + 20 1 diff --git a/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp b/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp index f9baf270..2af403f5 100644 --- a/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp +++ b/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp @@ -18,7 +18,7 @@ */ #include #include -#include +#include #include #include -- cgit v1.2.1