diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /parts/doxygen/doxygenpart.cpp | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'parts/doxygen/doxygenpart.cpp')
-rw-r--r-- | parts/doxygen/doxygenpart.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
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; |