diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:50:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-03 22:56:09 +0900 |
commit | 7b525ca12009d79fe90020690a4e7f0716dc97c2 (patch) | |
tree | d0561e6888afed3a1aef5058cc5a1c6348546f2f /kexi/plugins/forms/widgets/kexidbcheckbox.cpp | |
parent | c4525c81c3e7a2d7cc4c0afecc8bb5e217be9822 (diff) | |
download | koffice-7b525ca1.tar.gz koffice-7b525ca1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 04e50e547f8ed2d6db996bc4816179fa962bd6b1)
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbcheckbox.cpp')
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbcheckbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbcheckbox.cpp b/kexi/plugins/forms/widgets/kexidbcheckbox.cpp index 5d123d4dd..d97fe7d91 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); } |