summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbcheckbox.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbcheckbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbcheckbox.cpp b/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
index 5d123d4d..d97fe7d9 100644
--- a/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
+++ b/kexi/plugins/forms/widgets/kexidbcheckbox.cpp
@@ -29,7 +29,7 @@ KexiDBCheckBox::KexiDBCheckBox(const TQString &text, TQWidget *parent, const cha
, m_tristateChanged(false)
, m_tristate(TristateDefault)
{
- setFocusPolicy(TQ_StrongFocus);
+ setFocusPolicy(TQWidget::StrongFocus);
updateTristate();
connect(this, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotStateChanged(int)));
}
@@ -44,8 +44,8 @@ void KexiDBCheckBox::setInvalidState( const TQString& displayText )
setState(NoChange);
m_invalidState = true;
//! @todo move this to KexiDataItemInterface::setInvalidStateInternal() ?
- if (focusPolicy() & TQ_TabFocus)
- setFocusPolicy(TQ_ClickFocus);
+ if (focusPolicy() & TQWidget::TabFocus)
+ setFocusPolicy(TQWidget::ClickFocus);
setText(displayText);
}