aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-04-27 02:32:01 +1000
committerMichael Palimaka <kensington@gentoo.org>2014-04-27 03:38:52 +1000
commitb7887433d5dd44a4414674c6b3147edff30a0f4b (patch)
tree425db1901781ced1df9b1d8eedcab93fa428b8a4
parent1bfd179a7c64f96cafe88fe1c33fc67f391681a2 (diff)
downloadkconfig-b7887433d5dd44a4414674c6b3147edff30a0f4b.tar.gz
kconfig-b7887433d5dd44a4414674c6b3147edff30a0f4b.tar.bz2
Rename kreadconfig and kwriteconfig for coinstallability with kde-runtime4.
REVIEW: 117792
-rw-r--r--src/kreadconfig/CMakeLists.txt16
-rw-r--r--src/kreadconfig/kreadconfig.cpp4
2 files changed, 10 insertions, 10 deletions
diff --git a/src/kreadconfig/CMakeLists.txt b/src/kreadconfig/CMakeLists.txt
index 434f33a1..3804e16c 100644
--- a/src/kreadconfig/CMakeLists.txt
+++ b/src/kreadconfig/CMakeLists.txt
@@ -1,15 +1,15 @@
-add_executable(kreadconfig kreadconfig.cpp)
-ecm_mark_nongui_executable(kreadconfig)
+add_executable(kreadconfig5 kreadconfig.cpp)
+ecm_mark_nongui_executable(kreadconfig5)
-target_link_libraries(kreadconfig KF5::ConfigCore)
+target_link_libraries(kreadconfig5 KF5::ConfigCore)
-install(TARGETS kreadconfig ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kreadconfig5 ${INSTALL_TARGETS_DEFAULT_ARGS})
########### next target ###############
-add_executable(kwriteconfig kwriteconfig.cpp)
-ecm_mark_nongui_executable(kwriteconfig)
+add_executable(kwriteconfig5 kwriteconfig.cpp)
+ecm_mark_nongui_executable(kwriteconfig5)
-target_link_libraries(kwriteconfig KF5::ConfigCore)
+target_link_libraries(kwriteconfig5 KF5::ConfigCore)
-install(TARGETS kwriteconfig ${INSTALL_TARGETS_DEFAULT_ARGS})
+install(TARGETS kwriteconfig5 ${INSTALL_TARGETS_DEFAULT_ARGS})
diff --git a/src/kreadconfig/kreadconfig.cpp b/src/kreadconfig/kreadconfig.cpp
index 3505ac3e..2424e184 100644
--- a/src/kreadconfig/kreadconfig.cpp
+++ b/src/kreadconfig/kreadconfig.cpp
@@ -28,13 +28,13 @@
* If --type is not set, the value of the key is simply printed to stdout.
*
* Usage examples:
- * if kreadconfig --group KDE --key macStyle --type bool; then
+ * if kreadconfig5 --group KDE --key macStyle --type bool; then
* echo "We're using Mac-Style menus."
* else
* echo "We're using normal menus."
* fi
*
- * TRASH=`kreadconfig --group Paths --key Trash`
+ * TRASH=`kreadconfig5 --group Paths --key Trash`
* if test -n "$TRASH"; then
* mv someFile "$TRASH"
* else