diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 6e21bc798ba1066147d69dcc2d5c222ffafb9a90 (patch) | |
tree | 36613dfe2f86f8ccb96a30f3880507341228eeb0 /kdecore/kde-config.cpp.cmake | |
parent | 1e9fe867b0def399c63c42f35e83c3575e91ff83 (diff) | |
download | tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.tar.gz tdelibs-6e21bc798ba1066147d69dcc2d5c222ffafb9a90.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kde-config.cpp.cmake')
-rw-r--r-- | kdecore/kde-config.cpp.cmake | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/kdecore/kde-config.cpp.cmake b/kdecore/kde-config.cpp.cmake index cd8cb3ae4..867e43789 100644 --- a/kdecore/kde-config.cpp.cmake +++ b/kdecore/kde-config.cpp.cmake @@ -37,64 +37,64 @@ TQString expandvars(const char *_input) return result; bool changed = false; - int index = result.tqfind("${prefix}"); + int index = result.find("${prefix}"); if (index >= 0) { - result = result.tqreplace(index, 9, "@CMAKE_INSTALL_PREFIX@"); + result = result.replace(index, 9, "@CMAKE_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("$(prefix)"); + index = result.find("$(prefix)"); if (index >= 0) { - result = result.tqreplace(index, 9, "@CMAKE_INSTALL_PREFIX@"); + result = result.replace(index, 9, "@CMAKE_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("${datadir}"); + index = result.find("${datadir}"); if (index >= 0) { - result = result.tqreplace(index, 10, "@SHARE_INSTALL_PREFIX@"); + result = result.replace(index, 10, "@SHARE_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("$(datadir)"); + index = result.find("$(datadir)"); if (index >= 0) { - result = result.tqreplace(index, 10, "@SHARE_INSTALL_PREFIX@"); + result = result.replace(index, 10, "@SHARE_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("${exec_prefix}"); + index = result.find("${exec_prefix}"); if (index >= 0) { - result = result.tqreplace(index, 14, "@EXEC_INSTALL_PREFIX@"); + result = result.replace(index, 14, "@EXEC_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("$(exec_prefix)"); + index = result.find("$(exec_prefix)"); if (index >= 0) { - result = result.tqreplace(index, 14, "@EXEC_INSTALL_PREFIX@"); + result = result.replace(index, 14, "@EXEC_INSTALL_PREFIX@"); changed = true; } - index = result.tqfind("${libdir}"); + index = result.find("${libdir}"); if (index >= 0) { - result = result.tqreplace(index, 9, "@LIB_INSTALL_DIR@"); + result = result.replace(index, 9, "@LIB_INSTALL_DIR@"); changed = true; } - index = result.tqfind("$(libdir)"); + index = result.find("$(libdir)"); if (index >= 0) { - result = result.tqreplace(index, 9, "@LIB_INSTALL_DIR@"); + result = result.replace(index, 9, "@LIB_INSTALL_DIR@"); changed = true; } - index = result.tqfind("${includedir}"); + index = result.find("${includedir}"); if (index >= 0) { - result = result.tqreplace(index, 20, "@INCLUDE_INSTALL_DIR@"); + result = result.replace(index, 20, "@INCLUDE_INSTALL_DIR@"); changed = true; } - index = result.tqfind("$(includedir)"); + index = result.find("$(includedir)"); if (index >= 0) { - result = result.tqreplace(index, 20, "@INCLUDE_INSTALL_DIR@"); + result = result.replace(index, 20, "@INCLUDE_INSTALL_DIR@"); changed = true; } - index = result.tqfind("${sysconfdir}"); + index = result.find("${sysconfdir}"); if (index >= 0) { - result = result.tqreplace(index, 13, "@SYSCONF_INSTALL_DIR@"); + result = result.replace(index, 13, "@SYSCONF_INSTALL_DIR@"); changed = true; } - index = result.tqfind("$(sysconfdir)"); + index = result.find("$(sysconfdir)"); if (index >= 0) { - result = result.tqreplace(index, 13, "@SYSCONF_INSTALL_DIR@"); + result = result.replace(index, 13, "@SYSCONF_INSTALL_DIR@"); changed = true; } if (changed) |