From f78eb03afb8c9a380985d26286afc40b4c89b292 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:15:35 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- parts/documentation/documentation_part.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'parts/documentation/documentation_part.cpp') diff --git a/parts/documentation/documentation_part.cpp b/parts/documentation/documentation_part.cpp index 71054460..e618c2a3 100644 --- a/parts/documentation/documentation_part.cpp +++ b/parts/documentation/documentation_part.cpp @@ -204,12 +204,12 @@ bool DocumentationPart::configure(int page) void DocumentationPart::setupActions() { -/* KActionMenu *menu = new KActionMenu(i18n("&Bookmarks"), actionCollection(), "doc_bookmarks"); +/* TDEActionMenu *menu = new TDEActionMenu(i18n("&Bookmarks"), actionCollection(), "doc_bookmarks"); KBookmarkMenu *bm = new KBookmarkMenu(new DocBookmarkManager(this), new DocBookmarkOwner(this), menu->popupMenu(), actionCollection(), true);*/ - KAction *action; + TDEAction *action; - action = new KAction(i18n("&Search in Documentation..."), CTRL+ALT+Key_S, + action = new TDEAction(i18n("&Search in Documentation..."), CTRL+ALT+Key_S, this, TQT_SLOT(searchInDocumentation()), actionCollection(), "help_search_in_doc" ); action->setToolTip(i18n("Full text search in the documentation")); @@ -220,7 +220,7 @@ void DocumentationPart::setupActions() "full text index must be created first, which can be done in the " "configuration dialog of the documentation plugin.")); - action = new KAction(i18n("&Look in Documentation Index..."), CTRL+ALT+Key_I, + action = new TDEAction(i18n("&Look in Documentation Index..."), CTRL+ALT+Key_I, this, TQT_SLOT(lookInDocumentationIndex()), actionCollection(), "help_look_in_index" ); action->setToolTip(i18n("Look in the documentation index")); @@ -229,19 +229,19 @@ void DocumentationPart::setupActions() "a term to be entered which will be looked for in " "the documentation index.")); - action = new KAction(i18n("Man Page..."), 0, + action = new TDEAction(i18n("Man Page..."), 0, this, TQT_SLOT(manPage()), actionCollection(), "help_manpage" ); action->setToolTip(i18n("Show a manpage")); action->setWhatsThis(i18n("Show a manpage

Opens a man page using embedded viewer.")); - action = new KAction(i18n("Info Page..."), 0, + action = new TDEAction(i18n("Info Page..."), 0, this, TQT_SLOT(infoPage()), actionCollection(), "help_infopage"); action->setToolTip(i18n("Show an infopage")); action->setWhatsThis(i18n("Show an infopage

Opens an info page using embedded viewer.")); - action = new KAction(i18n("Find Documentation..."), 0, + action = new TDEAction(i18n("Find Documentation..."), 0, this, TQT_SLOT(findInDocumentation()), actionCollection(), "help_find_documentation"); action->setToolTip(i18n("Find Documentation")); -- cgit v1.2.1