From 7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 6 Nov 2011 02:28:57 -0600 Subject: Additional kde to tde renaming --- kioslave/media/mediamanager/halbackend.cpp | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'kioslave/media/mediamanager/halbackend.cpp') 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; -- cgit v1.2.1