diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/doxygen/doxygenpart.cpp | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
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 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; |