diff options
Diffstat (limited to 'kdecore/kde-config.cpp.in')
-rw-r--r-- | kdecore/kde-config.cpp.in | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kdecore/kde-config.cpp.in b/kdecore/kde-config.cpp.in index da9d41782..738686f11 100644 --- a/kdecore/kde-config.cpp.in +++ b/kdecore/kde-config.cpp.in @@ -32,69 +32,69 @@ bool _expandvars = false; TQString expandvars(const char *_input) { - TQString result = TQString::fromLatin1(_input); + TQString result = TQString::tqfromLatin1(_input); if (!_expandvars) return result; bool changed = false; - int index = result.find("${prefix}"); + int index = result.tqfind("${prefix}"); if (index >= 0) { - result = result.replace(index, 9, "@prefix@"); + result = result.tqreplace(index, 9, "@prefix@"); changed = true; } - index = result.find("$(prefix)"); + index = result.tqfind("$(prefix)"); if (index >= 0) { - result = result.replace(index, 9, "@prefix@"); + result = result.tqreplace(index, 9, "@prefix@"); changed = true; } - index = result.find("${datadir}"); + index = result.tqfind("${datadir}"); if (index >= 0) { - result = result.replace(index, 10, "@datadir@"); + result = result.tqreplace(index, 10, "@datadir@"); changed = true; } - index = result.find("$(datadir)"); + index = result.tqfind("$(datadir)"); if (index >= 0) { - result = result.replace(index, 10, "@datadir@"); + result = result.tqreplace(index, 10, "@datadir@"); changed = true; } - index = result.find("${exec_prefix}"); + index = result.tqfind("${exec_prefix}"); if (index >= 0) { - result = result.replace(index, 14, "@exec_prefix@"); + result = result.tqreplace(index, 14, "@exec_prefix@"); changed = true; } - index = result.find("$(exec_prefix)"); + index = result.tqfind("$(exec_prefix)"); if (index >= 0) { - result = result.replace(index, 14, "@exec_prefix@"); + result = result.tqreplace(index, 14, "@exec_prefix@"); changed = true; } - index = result.find("${libdir}"); + index = result.tqfind("${libdir}"); if (index >= 0) { - result = result.replace(index, 9, "@libdir@"); + result = result.tqreplace(index, 9, "@libdir@"); changed = true; } - index = result.find("$(libdir)"); + index = result.tqfind("$(libdir)"); if (index >= 0) { - result = result.replace(index, 9, "@libdir@"); + result = result.tqreplace(index, 9, "@libdir@"); changed = true; } - index = result.find("${includedir}"); + index = result.tqfind("${includedir}"); if (index >= 0) { - result = result.replace(index, 20, "@includedir@"); + result = result.tqreplace(index, 20, "@includedir@"); changed = true; } - index = result.find("$(includedir)"); + index = result.tqfind("$(includedir)"); if (index >= 0) { - result = result.replace(index, 20, "@includedir@"); + result = result.tqreplace(index, 20, "@includedir@"); changed = true; } - index = result.find("${sysconfdir}"); + index = result.tqfind("${sysconfdir}"); if (index >= 0) { - result = result.replace(index, 13, "@sysconfdir@"); + result = result.tqreplace(index, 13, "@sysconfdir@"); changed = true; } - index = result.find("$(sysconfdir)"); + index = result.tqfind("$(sysconfdir)"); if (index >= 0) { - result = result.replace(index, 13, "@sysconfdir@"); + result = result.tqreplace(index, 13, "@sysconfdir@"); changed = true; } if (changed) @@ -186,7 +186,7 @@ int main(int argc, char **argv) "wallpaper", I18N_NOOP("Wallpapers"), "xdgdata-apps", I18N_NOOP("XDG Application menu (.desktop files)"), "xdgdata-dirs", I18N_NOOP("XDG Menu descriptions (.directory files)"), - "xdgconf-menu", I18N_NOOP("XDG Menu layout (.menu files)"), + "xdgconf-menu", I18N_NOOP("XDG Menu tqlayout (.menu files)"), "tmp", I18N_NOOP("Temporary files (specific for both current host and current user)"), "socket", I18N_NOOP("UNIX Sockets (specific for both current host and current user)"), 0, 0 |