summaryrefslogtreecommitdiffstats
path: root/parts/doxygen/doxygenpart.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/doxygen/doxygenpart.cpp')
-rw-r--r--parts/doxygen/doxygenpart.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp
index 960eef41..d965d98b 100644
--- a/parts/doxygen/doxygenpart.cpp
+++ b/parts/doxygen/doxygenpart.cpp
@@ -15,19 +15,19 @@
#include "doxygenconfigwidget.h"
#include "configwidgetproxy.h"
#include "config.h"
-#include "tdevappfrontend.h"
+#include "kdevappfrontend.h"
-#include <tdevmainwindow.h>
-#include <tdevproject.h>
-#include <tdevmakefrontend.h>
-#include <tdevcore.h>
+#include <kdevmainwindow.h>
+#include <kdevproject.h>
+#include <kdevmakefrontend.h>
+#include <kdevcore.h>
#include <codemodel.h>
#include <codemodel_utils.h>
#include <domutil.h>
#include <kdebug.h>
#include <tdelocale.h>
-#include <tdevgenericfactory.h>
+#include <kdevgenericfactory.h>
#include <tdeaction.h>
#include <tdemessagebox.h>
#include <tdemainwindow.h>
@@ -37,7 +37,7 @@
#include <tdetexteditor/editinterface.h>
#include <partcontroller.h>
#include <kdialogbase.h>
-#include <tdevplugininfo.h>
+#include <kdevplugininfo.h>
#include <tqvbox.h>
#include <tqfile.h>
@@ -47,15 +47,15 @@
#define PROJECTOPTIONS 1
-typedef TDevGenericFactory<DoxygenPart> DoxygenFactory;
-static const TDevPluginInfo data("tdevdoxygen");
-K_EXPORT_COMPONENT_FACTORY( libtdevdoxygen, DoxygenFactory( data ) )
+typedef KDevGenericFactory<DoxygenPart> DoxygenFactory;
+static const KDevPluginInfo data("kdevdoxygen");
+K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( data ) )
DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList &)
- : TDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
+ : KDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0)
{
setInstance(DoxygenFactory::instance());
- setXMLFile("tdevdoxygen.rc");
+ setXMLFile("kdevdoxygen.rc");
TDEAction *action;
action = new TDEAction( i18n("Build API Documentation"), 0,
@@ -272,7 +272,7 @@ void DoxygenPart::slotDoxygen()
kdDebug(9026) << "Doxygen command line: " << cmdline << endl;
- if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(dir, cmdline);
}
@@ -340,7 +340,7 @@ void DoxygenPart::slotDoxClean()
if (could_be_dirty) {
kdDebug(9026) << "Cleaning Doxygen generated API documentation using: " << cmdline << endl;
- if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend"))
+ if (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend"))
makeFrontend->queueCommand(KShellProcess::quote(project()->projectDirectory()), cmdline);
}
else
@@ -350,7 +350,7 @@ void DoxygenPart::slotDoxClean()
void DoxygenPart::slotPreviewProcessExited( )
{
- TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend");
+ KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend");
if ( appFrontend != 0 )
disconnect(appFrontend, 0, this, 0);
partController()->showDocument(KURL(m_tmpDir.name()+"html/index.html"));
@@ -361,7 +361,7 @@ void DoxygenPart::slotRunPreview( )
if (m_file.isNull())
return;
- TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend");
+ KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend");
if ( appFrontend == 0 )
return;