summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-24 17:50:07 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-24 17:50:07 -0600
commit34ad82f628cad213a9070ce6820c8cf3c833d7a2 (patch)
treef371929467cb210ba0229aa0e06337f7ea67f32d /filesharing/advanced
parent8dd45350dba5c170e64ebef33773ed88795d42c3 (diff)
downloadtdenetwork-34ad82f628cad213a9070ce6820c8cf3c833d7a2.tar.gz
tdenetwork-34ad82f628cad213a9070ce6820c8cf3c833d7a2.zip
Rename KDEsu->TDEsu to provide consistency with previous renamings.
This relates to bug report 1707.
Diffstat (limited to 'filesharing/advanced')
-rw-r--r--filesharing/advanced/propsdlgplugin/propertiespage.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/filesharing/advanced/propsdlgplugin/propertiespage.cpp b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
index a61a8dd6..c4e9a4b2 100644
--- a/filesharing/advanced/propsdlgplugin/propertiespage.cpp
+++ b/filesharing/advanced/propsdlgplugin/propertiespage.cpp
@@ -172,13 +172,13 @@ bool PropertiesPage::save() {
bool PropertiesPage::save(NFSFile* nfsFile, SambaFile* sambaFile, bool nfs, bool samba)
{
TQString nfsFileName = KNFSShare::instance()->exportsPath();
- bool nfsNeedsKDEsu = false;
+ bool nfsNeedsTDEsu = false;
if (nfs) {
if (TQFileInfo(nfsFileName).isWritable()) {
nfsFile->saveTo(nfsFileName);
} else {
- nfsNeedsKDEsu = true;
+ nfsNeedsTDEsu = true;
kdDebug(FILESHARE_DEBUG) << "PropertiesPage::save: nfs needs tdesu." << endl;
}
} else
@@ -186,19 +186,19 @@ bool PropertiesPage::save(NFSFile* nfsFile, SambaFile* sambaFile, bool nfs, bool
TQString sambaFileName = KSambaShare::instance()->smbConfPath();
- bool sambaNeedsKDEsu = false;
+ bool sambaNeedsTDEsu = false;
if (samba) {
if (TQFileInfo(sambaFileName).isWritable()) {
sambaFile->saveTo(sambaFileName);
} else {
- sambaNeedsKDEsu = true;
+ sambaNeedsTDEsu = true;
kdDebug(FILESHARE_DEBUG) << "PropertiesPage::save: samba needs tdesu." << endl;
}
} else
kdDebug(FILESHARE_DEBUG) << "PropertiesPage::save: samba has not changed." << endl;
- if (nfsNeedsKDEsu || sambaNeedsKDEsu) {
+ if (nfsNeedsTDEsu || sambaNeedsTDEsu) {
KTempFile nfsTempFile;
nfsTempFile.setAutoDelete(true);
KTempFile sambaTempFile;
@@ -208,14 +208,14 @@ bool PropertiesPage::save(NFSFile* nfsFile, SambaFile* sambaFile, bool nfs, bool
TQString command;
- if (nfsNeedsKDEsu) {
+ if (nfsNeedsTDEsu) {
nfsFile->saveTo(nfsTempFile.name());
command += TQString("cp %1 %2;exportfs -ra;")
.arg(TDEProcess::quote( nfsTempFile.name() ))
.arg(TDEProcess::quote( nfsFileName ));
}
- if (sambaNeedsKDEsu) {
+ if (sambaNeedsTDEsu) {
sambaFile->saveTo(sambaTempFile.name());
command += TQString("cp %1 %2;")
.arg(TDEProcess::quote( sambaTempFile.name() ))