summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbautofield.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbautofield.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbautofield.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbautofield.cpp b/kexi/plugins/forms/widgets/kexidbautofield.cpp
index 52272fc7..c9b14274 100644
--- a/kexi/plugins/forms/widgets/kexidbautofield.cpp
+++ b/kexi/plugins/forms/widgets/kexidbautofield.cpp
@@ -300,9 +300,9 @@ KexiDBAutoField::setInvalidState( const TQString &text )
return;
d->widgetType = Auto;
createEditor();
- setFocusPolicy(TQ_NoFocus);
+ setFocusPolicy(TQWidget::NoFocus);
if (m_subwidget)
- m_subwidget->setFocusPolicy(TQ_NoFocus);
+ m_subwidget->setFocusPolicy(TQWidget::NoFocus);
//! @todo or set this to editor's text?
d->label->setText( text );
}
@@ -667,7 +667,7 @@ KexiDBAutoField::sizeHint() const
}
void
-KexiDBAutoField::setFocusPolicy( TQ_FocusPolicy policy )
+KexiDBAutoField::setFocusPolicy( TQWidget::FocusPolicy policy )
{
d->focusPolicyChanged = true;
TQWidget::setFocusPolicy(policy);