summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbtextedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbtextedit.cpp')
-rw-r--r--kexi/plugins/forms/widgets/kexidbtextedit.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbtextedit.cpp b/kexi/plugins/forms/widgets/kexidbtextedit.cpp
index 6948d840..07e932b4 100644
--- a/kexi/plugins/forms/widgets/kexidbtextedit.cpp
+++ b/kexi/plugins/forms/widgets/kexidbtextedit.cpp
@@ -47,8 +47,8 @@ void KexiDBTextEdit::setInvalidState( const TQString& displayText )
{
setReadOnly(true);
//! @todo move this to KexiDataItemInterface::setInvalidStateInternal() ?
- if (focusPolicy() & TQ_TabFocus)
- setFocusPolicy(TQ_ClickFocus);
+ if (focusPolicy() & TQWidget::TabFocus)
+ setFocusPolicy(TQWidget::ClickFocus);
KTextEdit::setText(displayText);
}