From b7887433d5dd44a4414674c6b3147edff30a0f4b Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Sun, 27 Apr 2014 02:32:01 +1000 Subject: Rename kreadconfig and kwriteconfig for coinstallability with kde-runtime4. REVIEW: 117792 --- src/kreadconfig/CMakeLists.txt | 16 ++++++++-------- src/kreadconfig/kreadconfig.cpp | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'src') 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 -- cgit v1.2.1