summaryrefslogtreecommitdiffstats
path: root/embedded/visualboyadvance/vbaconfigwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embedded/visualboyadvance/vbaconfigwidget.cpp')
-rw-r--r--embedded/visualboyadvance/vbaconfigwidget.cpp30
1 files changed, 15 insertions, 15 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);
}