summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbform.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbform.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbform.cpp b/kexi/plugins/forms/widgets/kexidbform.cpp
index 106e465b..a6603867 100644
--- a/kexi/plugins/forms/widgets/kexidbform.cpp
+++ b/kexi/plugins/forms/widgets/kexidbform.cpp
@@ -310,7 +310,7 @@ void KexiDBForm::updateTabStopsOrder(KFormDesigner::Form* form)
// if (d->orderedFocusWidgets.isEmpty()) {
//generate a new list
for (KFormDesigner::ObjectTreeListIterator it(form->tabStopsIterator()); it.current(); ++it) {
- if (it.current()->widget()->focusPolicy() & TQ_TabFocus) {
+ if (it.current()->widget()->focusPolicy() & TQWidget::TabFocus) {
//this widget has tab focus:
it.current()->widget()->installEventFilter(this);
//also filter events for data-aware children of this widget (i.e. KexiDBAutoField's editors)
@@ -368,7 +368,7 @@ void KexiDBForm::updateTabStopsOrder(KFormDesigner::Form* form)
void KexiDBForm::updateTabStopsOrder()
{
for (TQPtrListIterator<TQWidget> it( d->orderedFocusWidgets ); it.current();) {
- if (! (it.current()->focusPolicy() & TQ_TabFocus))
+ if (! (it.current()->focusPolicy() & TQWidget::TabFocus))
d->orderedFocusWidgets.remove( it.current() );
else
++it;