diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:28:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 02:28:57 -0600 |
commit | 7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 (patch) | |
tree | b7c6396f4f7fe78dcd49424bff707e977541de18 /kioslave/media/mediamanager/halbackend.cpp | |
parent | 66c0fa70796c1989a9f3adb0c5c0ad799ade48ca (diff) | |
download | tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.tar.gz tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.zip |
Additional kde to tde renaming
Diffstat (limited to 'kioslave/media/mediamanager/halbackend.cpp')
-rw-r--r-- | kioslave/media/mediamanager/halbackend.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kioslave/media/mediamanager/halbackend.cpp b/kioslave/media/mediamanager/halbackend.cpp index f4250f1ba..58e2992e0 100644 --- a/kioslave/media/mediamanager/halbackend.cpp +++ b/kioslave/media/mediamanager/halbackend.cpp @@ -1079,37 +1079,37 @@ bool HALBackend::setMountoptions(const TQString &name, const TQStringList &optio return true; } -TQString startKdeSudoProcess(const TQString& kdesudoPath, const TQString& command, +TQString startKdeSudoProcess(const TQString& tdesudoPath, const TQString& command, const TQString& dialogCaption, const TQString& dialogComment) { - KProcess kdesudoProcess; + KProcess tdesudoProcess; - kdesudoProcess << kdesudoPath + tdesudoProcess << tdesudoPath << "-d" << "--noignorebutton" << "--caption" << dialogCaption << "--comment" << dialogComment << "-c" << command; - // @todo handle kdesudo output - kdesudoProcess.start(KProcess::Block); + // @todo handle tdesudo output + tdesudoProcess.start(KProcess::Block); return TQString(); } -TQString startKdeSuProcess(const TQString& kdesuPath, const TQString& command, +TQString startKdeSuProcess(const TQString& tdesuPath, const TQString& command, const TQString& dialogCaption) { - KProcess kdesuProcess; + KProcess tdesuProcess; - kdesuProcess << kdesuPath + tdesuProcess << tdesuPath << "-d" << "--noignorebutton" << "--caption" << dialogCaption << "-c" << command; - // @todo handle kdesu output - kdesuProcess.start(KProcess::Block); + // @todo handle tdesu output + tdesuProcess.start(KProcess::Block); return TQString(); } @@ -1118,15 +1118,15 @@ TQString startPrivilegedProcess(const TQString& command, const TQString& dialogC { TQString error; - TQString kdesudoPath = KStandardDirs::findExe("kdesudo"); + TQString tdesudoPath = KStandardDirs::findExe("tdesudo"); - if (!kdesudoPath.isEmpty()) - error = startKdeSudoProcess(kdesudoPath, command, dialogCaption, dialogComment); + if (!tdesudoPath.isEmpty()) + error = startKdeSudoProcess(tdesudoPath, command, dialogCaption, dialogComment); else { - TQString kdesuPath = KStandardDirs::findExe("kdesu"); + TQString tdesuPath = KStandardDirs::findExe("tdesu"); - if (!kdesuPath.isEmpty()) - error = startKdeSuProcess(kdesuPath, command, dialogCaption); + if (!tdesuPath.isEmpty()) + error = startKdeSuProcess(tdesuPath, command, dialogCaption); } return error; |