diff options
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); } |