summaryrefslogtreecommitdiffstats
path: root/parts/doxygen
diff options
context:
space:
mode:
Diffstat (limited to 'parts/doxygen')
-rw-r--r--parts/doxygen/CMakeLists.txt8
-rw-r--r--parts/doxygen/Makefile.am14
-rw-r--r--parts/doxygen/doxygenpart.cpp32
-rw-r--r--parts/doxygen/doxygenpart.h4
-rw-r--r--parts/doxygen/kdevdoxygen.desktop (renamed from parts/doxygen/tdevdoxygen.desktop)2
-rw-r--r--parts/doxygen/kdevdoxygen.rc (renamed from parts/doxygen/tdevdoxygen.rc)0
6 files changed, 30 insertions, 30 deletions
diff --git a/parts/doxygen/CMakeLists.txt b/parts/doxygen/CMakeLists.txt
index ed4bfeb9..00a18675 100644
--- a/parts/doxygen/CMakeLists.txt
+++ b/parts/doxygen/CMakeLists.txt
@@ -28,13 +28,13 @@ link_directories(
##### other data ################################
-install( FILES tdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
-install( FILES tdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdoxygen )
+install( FILES kdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdoxygen )
-##### libtdevdoxygen (module) ###################
+##### libkdevdoxygen (module) ###################
-tde_add_kpart( libtdevdoxygen AUTOMOC
+tde_add_kpart( libkdevdoxygen AUTOMOC
SOURCES
doxygenpart.cpp doxygenconfigwidget.cpp input.cpp
config.cpp version.cpp messages.cpp
diff --git a/parts/doxygen/Makefile.am b/parts/doxygen/Makefile.am
index e01fa6eb..703760cb 100644
--- a/parts/doxygen/Makefile.am
+++ b/parts/doxygen/Makefile.am
@@ -4,16 +4,16 @@ INCLUDES = -I$(top_srcdir)/lib/interfaces \
-I$(top_srcdir)/lib/interfaces/extensions -I$(top_srcdir)/lib/util -I$(top_srcdir)/src -DDOXYWIZARD \
$(all_includes)
-kde_module_LTLIBRARIES = libtdevdoxygen.la
-libtdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
-libtdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
+kde_module_LTLIBRARIES = libkdevdoxygen.la
+libkdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN)
+libkdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la
-libtdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp
+libkdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp
METASOURCES = AUTO
servicedir = $(kde_servicesdir)
-service_DATA = tdevdoxygen.desktop
+service_DATA = kdevdoxygen.desktop
-rcdir = $(kde_datadir)/tdevdoxygen
-rc_DATA = tdevdoxygen.rc
+rcdir = $(kde_datadir)/kdevdoxygen
+rc_DATA = kdevdoxygen.rc
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;
diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h
index 77bafe46..aaa438de 100644
--- a/parts/doxygen/doxygenpart.h
+++ b/parts/doxygen/doxygenpart.h
@@ -20,7 +20,7 @@
#include <ktempdir.h>
#include <tqstring.h>
-#include "tdevplugin.h"
+#include "kdevplugin.h"
class DoxygenDialog;
class TQPopupMenu;
@@ -37,7 +37,7 @@ namespace KTextEditor{
class EditInterface;
}
-class DoxygenPart : public TDevPlugin
+class DoxygenPart : public KDevPlugin
{
Q_OBJECT
diff --git a/parts/doxygen/tdevdoxygen.desktop b/parts/doxygen/kdevdoxygen.desktop
index a69635ab..7d50f15b 100644
--- a/parts/doxygen/tdevdoxygen.desktop
+++ b/parts/doxygen/kdevdoxygen.desktop
@@ -75,7 +75,7 @@ GenericName[zh_CN]=Doxygen 支持
GenericName[zh_TW]=Doxygen 支援
ServiceTypes=TDevelop/Plugin
Icon=tdevelop
-X-TDE-Library=libtdevdoxygen
+X-TDE-Library=libkdevdoxygen
X-TDevelop-Version=5
X-TDevelop-Scope=Project
X-TDevelop-Properties=CProjectDocumentation,CPPProjectDocumentation,JavaProjectDocumentation,PHPProjectDocumentation
diff --git a/parts/doxygen/tdevdoxygen.rc b/parts/doxygen/kdevdoxygen.rc
index 9faa6cd5..9faa6cd5 100644
--- a/parts/doxygen/tdevdoxygen.rc
+++ b/parts/doxygen/kdevdoxygen.rc