summaryrefslogtreecommitdiffstats
path: root/parts/documentation/documentation_part.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/documentation/documentation_part.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/documentation/documentation_part.cpp')
-rw-r--r--parts/documentation/documentation_part.cpp14
1 files changed, 7 insertions, 7 deletions
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("<b>Show a manpage</b><p>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("<b>Show an infopage</b><p>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"));