summaryrefslogtreecommitdiffstats
path: root/kioslave/media/mediamanager
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:28:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 02:28:57 -0600
commit7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 (patch)
treeb7c6396f4f7fe78dcd49424bff707e977541de18 /kioslave/media/mediamanager
parent66c0fa70796c1989a9f3adb0c5c0ad799ade48ca (diff)
downloadtdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.tar.gz
tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.zip
Additional kde to tde renaming
Diffstat (limited to 'kioslave/media/mediamanager')
-rw-r--r--kioslave/media/mediamanager/CMakeLists.txt4
-rw-r--r--kioslave/media/mediamanager/halbackend.cpp32
2 files changed, 18 insertions, 18 deletions
diff --git a/kioslave/media/mediamanager/CMakeLists.txt b/kioslave/media/mediamanager/CMakeLists.txt
index 58854b630..411091365 100644
--- a/kioslave/media/mediamanager/CMakeLists.txt
+++ b/kioslave/media/mediamanager/CMakeLists.txt
@@ -47,7 +47,7 @@ if( WITH_HAL )
tde_add_kpart( ${target} AUTOMOC
SOURCES ${${target}_SRCS}
- LINK mediacommon-static kdeinit_kded-shared ${HAL_LIBRARIES} -lhal-storage ${DBUS_TQT_LIBRARIES}
+ LINK mediacommon-static tdeinit_kded-shared ${HAL_LIBRARIES} -lhal-storage ${DBUS_TQT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
else( )
@@ -59,7 +59,7 @@ else( )
tde_add_kpart( ${target} AUTOMOC
SOURCES ${${target}_SRCS}
- LINK mediacommon-static kdeinit_kded-shared
+ LINK mediacommon-static tdeinit_kded-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
endif( )
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;