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 /embedded/visualboyadvance/visualboyadvance_part.cpp | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'embedded/visualboyadvance/visualboyadvance_part.cpp')
-rw-r--r-- | embedded/visualboyadvance/visualboyadvance_part.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/embedded/visualboyadvance/visualboyadvance_part.cpp b/embedded/visualboyadvance/visualboyadvance_part.cpp index 873cd01d..a3b842f4 100644 --- a/embedded/visualboyadvance/visualboyadvance_part.cpp +++ b/embedded/visualboyadvance/visualboyadvance_part.cpp @@ -4,30 +4,30 @@ #include <tqwhatsthis.h> #include <tdeaction.h> -#include <kdevgenericfactory.h> +#include <tdevgenericfactory.h> #include <kiconloader.h> #include <tdelocale.h> -#include "kdevcore.h" -#include "kdevproject.h" -#include "kdevappfrontend.h" +#include "tdevcore.h" +#include "tdevproject.h" +#include "tdevappfrontend.h" #include "domutil.h" -#include "kdevplugininfo.h" +#include "tdevplugininfo.h" #include "vbaconfigwidget.h" using namespace VisualBoyAdvance; -typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory; -static const KDevPluginInfo data("kdevvisualboyadvance"); -K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) ) +typedef TDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory; +static const TDevPluginInfo data("tdevvisualboyadvance"); +K_EXPORT_COMPONENT_FACTORY( libtdevvisualboyadvance, VisualBoyAdvanceFactory( data ) ) VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &) - : KDevPlugin(&data, parent, name){ + : TDevPlugin(&data, parent, name){ setInstance(VisualBoyAdvanceFactory::instance()); - setXMLFile("kdevpart_visualboyadvance.rc"); + setXMLFile("tdevpart_visualboyadvance.rc"); TDEAction *action; action = new TDEAction( i18n("Execute Program"), "exec", Key_F9, @@ -44,7 +44,7 @@ VisualBoyAdvancePart::~VisualBoyAdvancePart() } void VisualBoyAdvancePart::slotExecute(){ - KDevProject* prj = project(); + TDevProject* prj = project(); TQDomDocument &doc = *projectDom(); TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary"); TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator"); @@ -62,7 +62,7 @@ void VisualBoyAdvancePart::slotExecute(){ program += prj->projectDirectory() + "/" + binary; - if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("TDevelop/AppFrontend")) + if (TDevAppFrontend *appFrontend = extension<TDevAppFrontend>("TDevelop/AppFrontend")) appFrontend->startAppCommand(TQString(), program, terminal); } |