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