summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbintspinbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbintspinbox.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbintspinbox.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbintspinbox.cpp b/kexi/plugins/forms/widgets/kexidbintspinbox.cpp
index ac9233474..7d5ae6ee3 100644
--- a/kexi/plugins/forms/widgets/kexidbintspinbox.cpp
+++ b/kexi/plugins/forms/widgets/kexidbintspinbox.cpp
@@ -20,27 +20,27 @@
#include "kexidbintspinbox.h"
-#include <qlineedit.h>
+#include <tqlineedit.h>
#include <knumvalidator.h>
-KexiDBIntSpinBox::KexiDBIntSpinBox(QWidget *parent, const char *name)
- : KIntSpinBox(parent, name) , KexiFormDataItemInterface()
+KexiDBIntSpinBox::KexiDBIntSpinBox(TQWidget *tqparent, const char *name)
+ : KIntSpinBox(tqparent, name) , KexiFormDataItemInterface()
{
- connect(this, SIGNAL(valueChanged(int)), this, SLOT(slotValueChanged()));
+ connect(this, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValueChanged()));
}
KexiDBIntSpinBox::~KexiDBIntSpinBox()
{
}
-void KexiDBIntSpinBox::setInvalidState( const QString& displayText )
+void KexiDBIntSpinBox::setInvalidState( const TQString& displayText )
{
m_invalidState = true;
setEnabled(false);
setReadOnly(true);
//! @todo move this to KexiDataItemInterface::setInvalidStateInternal() ?
if (focusPolicy() & TabFocus)
- setFocusPolicy(QWidget::ClickFocus);
+ setFocusPolicy(TQ_ClickFocus);
setSpecialValueText(displayText);
KIntSpinBox::setValue(minValue());
}
@@ -54,12 +54,12 @@ KexiDBIntSpinBox::setEnabled(bool enabled)
KIntSpinBox::setEnabled(enabled);
}
-void KexiDBIntSpinBox::setValueInternal(const QVariant&, bool)
+void KexiDBIntSpinBox::setValueInternal(const TQVariant&, bool)
{
KIntSpinBox::setValue(m_origValue.toInt());
}
-QVariant
+TQVariant
KexiDBIntSpinBox::value()
{
return KIntSpinBox::value();
@@ -90,7 +90,7 @@ void KexiDBIntSpinBox::setReadOnly(bool set)
editor()->setReadOnly(set);
}
-QWidget*
+TQWidget*
KexiDBIntSpinBox::widget()
{
return this;