summaryrefslogtreecommitdiffstats
path: root/kdecore
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-22 05:04:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-22 05:04:48 +0000
commitfa1ddc9724510b267edb5b2ae1058327ddc0a225 (patch)
tree422f933f58123f60333b525882889771b13ac90f /kdecore
parent5c9fdee3d6bff8e3ac4bdac1a14699dc82e13a10 (diff)
downloadtdelibs-fa1ddc9724510b267edb5b2ae1058327ddc0a225.tar.gz
tdelibs-fa1ddc9724510b267edb5b2ae1058327ddc0a225.zip
Fix other Qt4 kdelibs FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1225622 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore')
-rw-r--r--kdecore/kde-config.cpp.cmake52
1 files changed, 26 insertions, 26 deletions
diff --git a/kdecore/kde-config.cpp.cmake b/kdecore/kde-config.cpp.cmake
index f7be1e2be..cd8cb3ae4 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.find("${prefix}");
+ int index = result.tqfind("${prefix}");
if (index >= 0) {
- result = result.replace(index, 9, "@CMAKE_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 9, "@CMAKE_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("$(prefix)");
+ index = result.tqfind("$(prefix)");
if (index >= 0) {
- result = result.replace(index, 9, "@CMAKE_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 9, "@CMAKE_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("${datadir}");
+ index = result.tqfind("${datadir}");
if (index >= 0) {
- result = result.replace(index, 10, "@SHARE_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 10, "@SHARE_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("$(datadir)");
+ index = result.tqfind("$(datadir)");
if (index >= 0) {
- result = result.replace(index, 10, "@SHARE_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 10, "@SHARE_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("${exec_prefix}");
+ index = result.tqfind("${exec_prefix}");
if (index >= 0) {
- result = result.replace(index, 14, "@EXEC_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 14, "@EXEC_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("$(exec_prefix)");
+ index = result.tqfind("$(exec_prefix)");
if (index >= 0) {
- result = result.replace(index, 14, "@EXEC_INSTALL_PREFIX@");
+ result = result.tqreplace(index, 14, "@EXEC_INSTALL_PREFIX@");
changed = true;
}
- index = result.find("${libdir}");
+ index = result.tqfind("${libdir}");
if (index >= 0) {
- result = result.replace(index, 9, "@LIB_INSTALL_DIR@");
+ result = result.tqreplace(index, 9, "@LIB_INSTALL_DIR@");
changed = true;
}
- index = result.find("$(libdir)");
+ index = result.tqfind("$(libdir)");
if (index >= 0) {
- result = result.replace(index, 9, "@LIB_INSTALL_DIR@");
+ result = result.tqreplace(index, 9, "@LIB_INSTALL_DIR@");
changed = true;
}
- index = result.find("${includedir}");
+ index = result.tqfind("${includedir}");
if (index >= 0) {
- result = result.replace(index, 20, "@INCLUDE_INSTALL_DIR@");
+ result = result.tqreplace(index, 20, "@INCLUDE_INSTALL_DIR@");
changed = true;
}
- index = result.find("$(includedir)");
+ index = result.tqfind("$(includedir)");
if (index >= 0) {
- result = result.replace(index, 20, "@INCLUDE_INSTALL_DIR@");
+ result = result.tqreplace(index, 20, "@INCLUDE_INSTALL_DIR@");
changed = true;
}
- index = result.find("${sysconfdir}");
+ index = result.tqfind("${sysconfdir}");
if (index >= 0) {
- result = result.replace(index, 13, "@SYSCONF_INSTALL_DIR@");
+ result = result.tqreplace(index, 13, "@SYSCONF_INSTALL_DIR@");
changed = true;
}
- index = result.find("$(sysconfdir)");
+ index = result.tqfind("$(sysconfdir)");
if (index >= 0) {
- result = result.replace(index, 13, "@SYSCONF_INSTALL_DIR@");
+ result = result.tqreplace(index, 13, "@SYSCONF_INSTALL_DIR@");
changed = true;
}
if (changed)
@@ -201,7 +201,7 @@ int main(int argc, char **argv)
if (helptexts[index]) {
printf("%s - %s\n", helptexts[index], i18n(helptexts[index+1]).local8Bit().data());
} else {
- printf("%s", i18n("%1 - unknown type\n").arg(*it).local8Bit().data());
+ printf("%s", i18n("%1 - unknown type\n").tqarg(*it).local8Bit().data());
}
}
return 0;
@@ -226,7 +226,7 @@ int main(int argc, char **argv)
else if ( type == "document" )
printResult(KGlobalSettings::documentPath());
else
- fprintf(stderr, "%s", i18n("%1 - unknown type of userpath\n").arg(type).local8Bit().data() );
+ fprintf(stderr, "%s", i18n("%1 - unknown type of userpath\n").tqarg(type).local8Bit().data() );
return 0;
}