diff options
Diffstat (limited to 'parts/doxygen')
-rw-r--r-- | parts/doxygen/CMakeLists.txt | 8 | ||||
-rw-r--r-- | parts/doxygen/Makefile.am | 14 | ||||
-rw-r--r-- | parts/doxygen/doxygenpart.cpp | 32 | ||||
-rw-r--r-- | parts/doxygen/doxygenpart.h | 4 | ||||
-rw-r--r-- | parts/doxygen/tdevdoxygen.desktop (renamed from parts/doxygen/kdevdoxygen.desktop) | 2 | ||||
-rw-r--r-- | parts/doxygen/tdevdoxygen.rc (renamed from parts/doxygen/kdevdoxygen.rc) | 0 |
6 files changed, 30 insertions, 30 deletions
diff --git a/parts/doxygen/CMakeLists.txt b/parts/doxygen/CMakeLists.txt index 00a18675..ed4bfeb9 100644 --- a/parts/doxygen/CMakeLists.txt +++ b/parts/doxygen/CMakeLists.txt @@ -28,13 +28,13 @@ link_directories( ##### other data ################################ -install( FILES kdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) -install( FILES kdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/kdevdoxygen ) +install( FILES tdevdoxygen.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +install( FILES tdevdoxygen.rc DESTINATION ${DATA_INSTALL_DIR}/tdevdoxygen ) -##### libkdevdoxygen (module) ################### +##### libtdevdoxygen (module) ################### -tde_add_kpart( libkdevdoxygen AUTOMOC +tde_add_kpart( libtdevdoxygen 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 703760cb..e01fa6eb 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 = libkdevdoxygen.la -libkdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la +kde_module_LTLIBRARIES = libtdevdoxygen.la +libtdevdoxygen_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) +libtdevdoxygen_la_LIBADD = $(top_builddir)/lib/libtdevelop.la -libkdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp +libtdevdoxygen_la_SOURCES = doxygenpart.cpp doxygenconfigwidget.cpp input.cpp config.cpp version.cpp messages.cpp METASOURCES = AUTO servicedir = $(kde_servicesdir) -service_DATA = kdevdoxygen.desktop +service_DATA = tdevdoxygen.desktop -rcdir = $(kde_datadir)/kdevdoxygen -rc_DATA = kdevdoxygen.rc +rcdir = $(kde_datadir)/tdevdoxygen +rc_DATA = tdevdoxygen.rc diff --git a/parts/doxygen/doxygenpart.cpp b/parts/doxygen/doxygenpart.cpp index d965d98b..960eef41 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 "kdevappfrontend.h" +#include "tdevappfrontend.h" -#include <kdevmainwindow.h> -#include <kdevproject.h> -#include <kdevmakefrontend.h> -#include <kdevcore.h> +#include <tdevmainwindow.h> +#include <tdevproject.h> +#include <tdevmakefrontend.h> +#include <tdevcore.h> #include <codemodel.h> #include <codemodel_utils.h> #include <domutil.h> #include <kdebug.h> #include <tdelocale.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.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 <kdevplugininfo.h> +#include <tdevplugininfo.h> #include <tqvbox.h> #include <tqfile.h> @@ -47,15 +47,15 @@ #define PROJECTOPTIONS 1 -typedef KDevGenericFactory<DoxygenPart> DoxygenFactory; -static const KDevPluginInfo data("kdevdoxygen"); -K_EXPORT_COMPONENT_FACTORY( libkdevdoxygen, DoxygenFactory( data ) ) +typedef TDevGenericFactory<DoxygenPart> DoxygenFactory; +static const TDevPluginInfo data("tdevdoxygen"); +K_EXPORT_COMPONENT_FACTORY( libtdevdoxygen, DoxygenFactory( data ) ) DoxygenPart::DoxygenPart(TQObject *parent, const char *name, const TQStringList &) - : KDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0) + : TDevPlugin(&data, parent, name ? name : "DoxygenPart"), m_activeEditor(0), m_cursor(0) { setInstance(DoxygenFactory::instance()); - setXMLFile("kdevdoxygen.rc"); + setXMLFile("tdevdoxygen.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 (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("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 (KDevMakeFrontend *makeFrontend = extension<KDevMakeFrontend>("TDevelop/MakeFrontend")) + if (TDevMakeFrontend *makeFrontend = extension<TDevMakeFrontend>("TDevelop/MakeFrontend")) makeFrontend->queueCommand(KShellProcess::quote(project()->projectDirectory()), cmdline); } else @@ -350,7 +350,7 @@ void DoxygenPart::slotDoxClean() void DoxygenPart::slotPreviewProcessExited( ) { - KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"); + TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("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; - KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend"); + TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend"); if ( appFrontend == 0 ) return; diff --git a/parts/doxygen/doxygenpart.h b/parts/doxygen/doxygenpart.h index aaa438de..77bafe46 100644 --- a/parts/doxygen/doxygenpart.h +++ b/parts/doxygen/doxygenpart.h @@ -20,7 +20,7 @@ #include <ktempdir.h> #include <tqstring.h> -#include "kdevplugin.h" +#include "tdevplugin.h" class DoxygenDialog; class TQPopupMenu; @@ -37,7 +37,7 @@ namespace KTextEditor{ class EditInterface; } -class DoxygenPart : public KDevPlugin +class DoxygenPart : public TDevPlugin { Q_OBJECT diff --git a/parts/doxygen/kdevdoxygen.desktop b/parts/doxygen/tdevdoxygen.desktop index 7d50f15b..a69635ab 100644 --- a/parts/doxygen/kdevdoxygen.desktop +++ b/parts/doxygen/tdevdoxygen.desktop @@ -75,7 +75,7 @@ GenericName[zh_CN]=Doxygen 支持 GenericName[zh_TW]=Doxygen 支援 ServiceTypes=TDevelop/Plugin Icon=tdevelop -X-TDE-Library=libkdevdoxygen +X-TDE-Library=libtdevdoxygen X-TDevelop-Version=5 X-TDevelop-Scope=Project X-TDevelop-Properties=CProjectDocumentation,CPPProjectDocumentation,JavaProjectDocumentation,PHPProjectDocumentation diff --git a/parts/doxygen/kdevdoxygen.rc b/parts/doxygen/tdevdoxygen.rc index 9faa6cd5..9faa6cd5 100644 --- a/parts/doxygen/kdevdoxygen.rc +++ b/parts/doxygen/tdevdoxygen.rc |