summaryrefslogtreecommitdiffstats
path: root/embedded/visualboyadvance/vbaconfigwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /embedded/visualboyadvance/vbaconfigwidget.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}