summaryrefslogtreecommitdiffstats
path: root/src/gui/numberfieldwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/numberfieldwidget.cpp')
-rw-r--r--src/gui/numberfieldwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/numberfieldwidget.cpp b/src/gui/numberfieldwidget.cpp
index 3893f08..4fc1f46 100644
--- a/src/gui/numberfieldwidget.cpp
+++ b/src/gui/numberfieldwidget.cpp
@@ -36,8 +36,8 @@ NumberFieldWidget::NumberFieldWidget(Data::FieldPtr field_, TQWidget* parent_, c
void NumberFieldWidget::initLineEdit() {
m_lineEdit = new KLineEdit(this);
- connect(m_lineEdit, TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
- // connect(kl, TQT_SIGNAL(returnPressed(const TQString&)), this, TQT_SLOT(slotHandleReturn()));
+ connect(m_lineEdit, TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
+ // connect(kl, TQ_SIGNAL(returnPressed(const TQString&)), this, TQ_SLOT(slotHandleReturn()));
// regexp is any number of digits followed optionally by any number of
// groups of a semi-colon followed optionally by a space, followed by digits
@@ -48,10 +48,10 @@ void NumberFieldWidget::initLineEdit() {
void NumberFieldWidget::initSpinBox() {
// intentionally allow only positive numbers
m_spinBox = new GUI::SpinBox(-1, INT_MAX, this);
- connect(m_spinBox, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(modified()));
+ connect(m_spinBox, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(modified()));
// TQSpinBox doesn't emit valueChanged if you edit the value with
// the lineEdit until you change the keyboard focus
- connect(m_spinBox->child("qt_spinbox_edit"), TQT_SIGNAL(textChanged(const TQString&)), TQT_SIGNAL(modified()));
+ connect(m_spinBox->child("qt_spinbox_edit"), TQ_SIGNAL(textChanged(const TQString&)), TQ_SIGNAL(modified()));
// I want to allow no value, so set space as special text. Empty text is ignored
m_spinBox->setSpecialValueText(TQChar(' '));
}