summaryrefslogtreecommitdiffstats
path: root/src/gui/boolfieldwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/boolfieldwidget.cpp')
-rw-r--r--src/gui/boolfieldwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/boolfieldwidget.cpp b/src/gui/boolfieldwidget.cpp
index 5a8e88b..ae625be 100644
--- a/src/gui/boolfieldwidget.cpp
+++ b/src/gui/boolfieldwidget.cpp
@@ -15,29 +15,29 @@
#include "../field.h"
#include "../latin1literal.h"
-#include <qlabel.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
+#include <tqlabel.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
using Tellico::GUI::BoolFieldWidget;
-BoolFieldWidget::BoolFieldWidget(Data::FieldPtr field_, QWidget* parent_, const char* name_/*=0*/)
- : FieldWidget(field_, parent_, name_) {
+BoolFieldWidget::BoolFieldWidget(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_/*=0*/)
+ : FieldWidget(field_, tqparent_, name_) {
- m_checkBox = new QCheckBox(this);
- connect(m_checkBox, SIGNAL(clicked()), SIGNAL(modified()));
+ m_checkBox = new TQCheckBox(this);
+ connect(m_checkBox, TQT_SIGNAL(clicked()), TQT_SIGNAL(modified()));
registerWidget();
}
-QString BoolFieldWidget::text() const {
+TQString BoolFieldWidget::text() const {
if(m_checkBox->isChecked()) {
- return QString::fromLatin1("true");
+ return TQString::tqfromLatin1("true");
}
- return QString();
+ return TQString();
}
-void BoolFieldWidget::setText(const QString& text_) {
+void BoolFieldWidget::setText(const TQString& text_) {
blockSignals(true);
m_checkBox->blockSignals(true);
@@ -54,7 +54,7 @@ void BoolFieldWidget::clear() {
editMultiple(false);
}
-QWidget* BoolFieldWidget::widget() {
+TQWidget* BoolFieldWidget::widget() {
return m_checkBox;
}