From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kded/kde-menu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kded/kde-menu.cpp') diff --git a/kded/kde-menu.cpp b/kded/kde-menu.cpp index 89ee5a857..142ed3916 100644 --- a/kded/kde-menu.cpp +++ b/kded/kde-menu.cpp @@ -34,8 +34,8 @@ static KCmdLineOptions options[] = { { "utf8", I18N_NOOP("Output data in UTF-8 instead of local encoding"), 0 }, - { "print-menu-id", I18N_NOOP("Print menu-id of the menu that contains\nthe application"), 0 }, - { "print-menu-name", I18N_NOOP("Print menu name (caption) of the menu that\ncontains the application"), 0 }, + { "print-menu-id", I18N_NOOP("Print menu-id of the menu that tqcontains\nthe application"), 0 }, + { "print-menu-name", I18N_NOOP("Print menu name (caption) of the menu that\ntqcontains the application"), 0 }, { "highlight", I18N_NOOP("Highlight the entry in the menu"), 0 }, { "nocache-update", I18N_NOOP("Do not check if sycoca database is up to date"), 0 }, { "+", I18N_NOOP("The id of the menu entry to locate"), 0 }, @@ -64,7 +64,7 @@ static void error(int exitCode, const TQString &txt) exit(exitCode); } -static void findMenuEntry(KServiceGroup::Ptr parent, const TQString &name, const TQString &menuId) +static void tqfindMenuEntry(KServiceGroup::Ptr parent, const TQString &name, const TQString &menuId) { KServiceGroup::List list = parent->entries(true, true, false); KServiceGroup::List::ConstIterator it = list.begin(); @@ -76,7 +76,7 @@ static void findMenuEntry(KServiceGroup::Ptr parent, const TQString &name, const { KServiceGroup::Ptr g(static_cast(e)); - findMenuEntry(g, name.isEmpty() ? g->caption() : name+"/"+g->caption(), menuId); + tqfindMenuEntry(g, name.isEmpty() ? g->caption() : name+"/"+g->caption(), menuId); } else if (e->isType(KST_KService)) { @@ -109,7 +109,7 @@ int main(int argc, char **argv) { KLocale::setMainCatalogue("kdelibs"); const char *description = I18N_NOOP("KDE Menu query tool.\n" - "This tool can be used to find in which menu a specific application is shown.\n" + "This tool can be used to tqfind in which menu a specific application is shown.\n" "The --highlight option can be used to visually indicate to the user where\n" "in the KDE menu a specific application is located."); @@ -163,7 +163,7 @@ int main(int argc, char **argv) if (!s) error(1, i18n("No menu item '%1'.").arg(menuId)); - findMenuEntry(KServiceGroup::root(), "", menuId); + tqfindMenuEntry(KServiceGroup::root(), "", menuId); error(2, i18n("Menu item '%1' not found in menu.").arg(menuId)); return 2; -- cgit v1.2.1