summaryrefslogtreecommitdiffstats
path: root/parts/doxygen
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/doxygen
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'parts/doxygen')
-rw-r--r--parts/doxygen/doxygenpart.cpp10
-rw-r--r--parts/doxygen/doxygenpart.h8
2 files changed, 9 insertions, 9 deletions
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index 50c916f2..b238f99c 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -57,15 +57,15 @@ DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList
setInstance(DoxygenFactory::instance());
setXMLFile("kdevdoxygen.rc");
- KAction *action;
- action = new KAction( i18n("Build API Documentation"), 0,
+ TDEAction *action;
+ action = new TDEAction( i18n("Build API Documentation"), 0,
this, TQT_SLOT(slotDoxygen()),
actionCollection(), "build_doxygen" );
action->setToolTip(i18n("Build API documentation"));
action->setWhatsThis(i18n("<b>Build API documentation</b><p>Runs doxygen on a project Doxyfile to generate API documentation. "
"If the search engine is enabled in Doxyfile, this also runs doxytag to create it."));
- action = new KAction( i18n("Clean API Documentation"), 0,
+ action = new TDEAction( i18n("Clean API Documentation"), 0,
this, TQT_SLOT(slotDoxClean()),
actionCollection(), "clean_doxygen" );
action->setToolTip(i18n("Clean API documentation"));
@@ -78,13 +78,13 @@ DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList
connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
- m_actionDocumentFunction = new KAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQT_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
+ m_actionDocumentFunction = new TDEAction(i18n("Document Current Function"), 0, CTRL+SHIFT+Key_S, this, TQT_SLOT(slotDocumentFunction()), actionCollection(), "edit_document_function");
m_actionDocumentFunction->setToolTip( i18n("Create a documentation template above a function"));
m_actionDocumentFunction->setWhatsThis(i18n("<b>Document Current Function</b><p>Creates a documentation template according to a function's signature above a function definition/declaration."));
m_tmpDir.setAutoDelete(true);
connect( partController(), TQT_SIGNAL(activePartChanged(KParts::Part*)), this, TQT_SLOT(slotActivePartChanged(KParts::Part* )));
- m_actionPreview = new KAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQT_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
+ m_actionPreview = new TDEAction(i18n("Preview Doxygen Output"), 0, CTRL+ALT+Key_P, this, TQT_SLOT(slotRunPreview()), actionCollection(), "show_preview_doxygen_output");
m_actionPreview->setToolTip( i18n("Show a preview of the Doxygen output of this file") );
m_actionPreview->setWhatsThis( i18n("<b>Preview Doxygen output</b><p>Runs Doxygen over the current file and shows the created index.html.") );
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index 0a6ea9b4..6882e932 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -25,7 +25,7 @@
class DoxygenDialog;
class TQPopupMenu;
class Context;
-class KAction;
+class TDEAction;
class KDialogBase;
class ConfigWidgetProxy;
@@ -102,11 +102,11 @@ private:
//needed for doxygen preview
TQString m_file;
KTempDir m_tmpDir;
- KAction* m_action;
+ TDEAction* m_action;
//needed for documentFunction
- KAction* m_actionDocumentFunction;
- KAction* m_actionPreview;
+ TDEAction* m_actionDocumentFunction;
+ TDEAction* m_actionPreview;
KTextEditor::EditInterface* m_activeEditor;
KTextEditor::ViewCursorInterface* m_cursor;
};