summaryrefslogtreecommitdiffstats
path: root/embedded
diff options
context:
space:
mode:
Diffstat (limited to 'embedded')
-rw-r--r--embedded/visualboyadvance/vbaconfigwidget.cpp30
-rw-r--r--embedded/visualboyadvance/vbaconfigwidget.h4
-rw-r--r--embedded/visualboyadvance/visualboyadvance_part.cpp32
-rw-r--r--embedded/visualboyadvance/visualboyadvance_part.h4
4 files changed, 35 insertions, 35 deletions
diff --git a/embedded/visualboyadvance/vbaconfigwidget.cpp b/embedded/visualboyadvance/vbaconfigwidget.cpp
index e9c00c12..a89a397f 100644
--- a/embedded/visualboyadvance/vbaconfigwidget.cpp
+++ b/embedded/visualboyadvance/vbaconfigwidget.cpp
@@ -17,11 +17,11 @@
#include "vbaconfigwidget.h"
-#include <qcheckbox.h>
-#include <qdir.h>
-#include <qlineedit.h>
-#include <qradiobutton.h>
-#include <qtoolbutton.h>
+#include <tqcheckbox.h>
+#include <tqdir.h>
+#include <tqlineedit.h>
+#include <tqradiobutton.h>
+#include <tqtoolbutton.h>
#include <kfiledialog.h>
@@ -30,15 +30,15 @@
using namespace VisualBoyAdvance;
-VBAConfigWidget::VBAConfigWidget(VisualBoyAdvancePart* part,QWidget *parent, const char *name ) : VBAConfigWidgetBase(parent,name) {
+VBAConfigWidget::VBAConfigWidget(VisualBoyAdvancePart* part,TQWidget *parent, const char *name ) : VBAConfigWidgetBase(parent,name) {
m_part = part;
- QDomDocument &doc = *m_part->projectDom();
+ TQDomDocument &doc = *m_part->projectDom();
// read
- QString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
- QString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
- QString graphicFilter = DomUtil::readEntry(doc, "/kdevvisualadvance/graphicFilter");
- QString scaling = DomUtil::readEntry(doc, "/kdevvisualadvance/scaling");
- QString addOptions = DomUtil::readEntry(doc, "/kdevvisualadvance/addOptions");
+ TQString emulator = DomUtil::readEntry(doc, "/kdevvisualadvance/emulator");
+ TQString binary = DomUtil::readEntry(doc, "/kdevvisualadvance/binary");
+ 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");
// set the widgets
@@ -98,13 +98,13 @@ VBAConfigWidget::VBAConfigWidget(VisualBoyAdvancePart* part,QWidget *parent, con
}
addOptionsEdit->setText(addOptions);
- connect(emuPathButton,SIGNAL(clicked()),this,SLOT(emuPathButtonClicked()));
+ connect(emuPathButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(emuPathButtonClicked()));
}
VBAConfigWidget::~VBAConfigWidget(){
}
void VBAConfigWidget::accept(){
- QDomDocument &doc = *m_part->projectDom();
+ TQDomDocument &doc = *m_part->projectDom();
DomUtil::writeEntry(doc, "/kdevvisualadvance/emulator",emuPathEdit->text());
DomUtil::writeEntry(doc, "/kdevvisualadvance/binary",binaryEdit->text());
@@ -135,7 +135,7 @@ void VBAConfigWidget::accept(){
}
}
void VBAConfigWidget::emuPathButtonClicked(){
- QString emu = KFileDialog::getOpenFileName(QDir::homeDirPath());
+ TQString emu = KFileDialog::getOpenFileName(TQDir::homeDirPath());
if(!emu.isEmpty()){
emuPathEdit->setText(emu);
}
diff --git a/embedded/visualboyadvance/vbaconfigwidget.h b/embedded/visualboyadvance/vbaconfigwidget.h
index 61866eb6..eb0bd8ea 100644
--- a/embedded/visualboyadvance/vbaconfigwidget.h
+++ b/embedded/visualboyadvance/vbaconfigwidget.h
@@ -18,7 +18,7 @@
#ifndef VBACONFIGWIDGET_H
#define VBACONFIGWIDGET_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include "vbaconfigwidgetbase.h"
#include "visualboyadvance_part.h"
@@ -30,7 +30,7 @@ namespace VisualBoyAdvance {
class VBAConfigWidget : public VBAConfigWidgetBase {
Q_OBJECT
public:
- VBAConfigWidget(VisualBoyAdvancePart* part,QWidget *parent=0, const char *name=0);
+ VBAConfigWidget(VisualBoyAdvancePart* part,TQWidget *parent=0, const char *name=0);
~VBAConfigWidget();
public slots:
void accept();
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()) );
}
diff --git a/embedded/visualboyadvance/visualboyadvance_part.h b/embedded/visualboyadvance/visualboyadvance_part.h
index 86903d0b..bb231f0d 100644
--- a/embedded/visualboyadvance/visualboyadvance_part.h
+++ b/embedded/visualboyadvance/visualboyadvance_part.h
@@ -6,7 +6,7 @@
#ifndef __KDEVPART_VISUALBOYADVANCE_H__
#define __KDEVPART_VISUALBOYADVANCE_H__
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
#include <kdevplugin.h>
#include <kdialogbase.h>
@@ -17,7 +17,7 @@ namespace VisualBoyAdvance {
public:
- VisualBoyAdvancePart(QObject *parent, const char *name, const QStringList &);
+ VisualBoyAdvancePart(TQObject *parent, const char *name, const TQStringList &);
~VisualBoyAdvancePart();
private slots:
void slotExecute();