From 34ad82f628cad213a9070ce6820c8cf3c833d7a2 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 24 Nov 2013 17:50:07 -0600 Subject: Rename KDEsu->TDEsu to provide consistency with previous renamings. This relates to bug report 1707. --- filesharing/advanced/propsdlgplugin/propertiespage.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'filesharing/advanced/propsdlgplugin') 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() )) -- cgit v1.2.1