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.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/embedded/visualboyadvance/visualboyadvance_part.cpp b/embedded/visualboyadvance/visualboyadvance_part.cpp
index ad434b43..da7acb88 100644
--- a/embedded/visualboyadvance/visualboyadvance_part.cpp
+++ b/embedded/visualboyadvance/visualboyadvance_part.cpp
@@ -1,7 +1,7 @@
#include "visualboyadvance_part.h"
-#include <qvbox.h>
-#include <qwhatsthis.h>
+#include <tqvbox.h>
+#include <tqwhatsthis.h>
#include <kaction.h>
#include <kdevgenericfactory.h>
@@ -23,7 +23,7 @@ typedef KDevGenericFactory<VisualBoyAdvancePart> VisualBoyAdvanceFactory;
static const KDevPluginInfo data("kdevvisualboyadvance");
K_EXPORT_COMPONENT_FACTORY( libkdevvisualboyadvance, VisualBoyAdvanceFactory( data ) )
-VisualBoyAdvancePart::VisualBoyAdvancePart(QObject *parent, const char *name, const QStringList &)
+VisualBoyAdvancePart::VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name){
setInstance(VisualBoyAdvanceFactory::instance());
@@ -31,11 +31,11 @@ VisualBoyAdvancePart::VisualBoyAdvancePart(QObject *parent, const char *name, co
KAction *action;
action = new KAction( i18n("Execute Program"), "exec", Key_F9,
- this, SLOT(slotExecute()),
+ this, TQT_SLOT(slotExecute()),
actionCollection(), "build_execute" );
- connect( core(), SIGNAL(projectConfigWidget(KDialogBase*)),
- this, SLOT(projectConfigWidget(KDialogBase*)) );
+ connect( core(), TQT_SIGNAL(projectConfigWidget(KDialogBase*)),
+ this, TQT_SLOT(projectConfigWidget(KDialogBase*)) );
}
@@ -45,17 +45,17 @@ VisualBoyAdvancePart::~VisualBoyAdvancePart()
}
void VisualBoyAdvancePart::slotExecute(){
KDevProject* prj = project();
- QDomDocument &doc = *projectDom();
- QString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
- QString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
- QString graphicFilter = DomUtil::readEntry(doc, "/kdevvisualadvance/graphicFilter");
- QString scaling = DomUtil::readEntry(doc, "/kdevvisualadvance/scaling");
- QString addOptions = DomUtil::readEntry(doc, "/kdevvisualadvance/addOptions");
+ TQDomDocument &doc = *projectDom();
+ TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
+ TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
+ TQString graphicFilter = DomUtil::readEntry(doc, "/kdevvisualadvance/graphicFilter");
+ TQString scaling = DomUtil::readEntry(doc, "/kdevvisualadvance/scaling");
+ TQString addOptions = DomUtil::readEntry(doc, "/kdevvisualadvance/addOptions");
bool terminal = DomUtil::readBoolEntry(doc, "/kdevvisualadvance/terminal");
bool fullscreen = DomUtil::readBoolEntry(doc, "/kdevvisualadvance/fullscreen");
if(emulator.isNull()) emulator = "VisualBoyAdvance";
- QString program = emulator + " " + graphicFilter +" " + scaling + " " + addOptions +" ";
+ TQString program = emulator + " " + graphicFilter +" " + scaling + " " + addOptions +" ";
if(fullscreen){
program += "-F ";
}
@@ -63,14 +63,14 @@ void VisualBoyAdvancePart::slotExecute(){
program += prj->projectDirectory() + "/" + binary;
if (KDevAppFrontend *appFrontend = extension<KDevAppFrontend>("KDevelop/AppFrontend"))
- appFrontend->startAppCommand(QString::QString(), program, terminal);
+ appFrontend->startAppCommand(TQString::TQString(), program, terminal);
}
void VisualBoyAdvancePart::projectConfigWidget(KDialogBase *dlg){
- QVBox *vbox;
+ TQVBox *vbox;
vbox = dlg->addVBoxPage(i18n("Run Options"), i18n("Run Options"), BarIcon( "make", KIcon::SizeMedium ));
VBAConfigWidget* w = new VBAConfigWidget(this,vbox);
- connect( dlg, SIGNAL(okClicked()), w, SLOT(accept()) );
+ connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
}