diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-02 15:53:29 +0900 |
commit | 1e5d5c92c374c8c950f01fa5aa916b3f722f98c1 (patch) | |
tree | f8538d6a34bf4683fdb8e2ed33923406b1659c09 /tdeui/kdockwidget_private.cpp | |
parent | 34632650f1a323bdb5a0bbb0f504e3db70d87330 (diff) | |
download | tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.tar.gz tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.zip |
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/kdockwidget_private.cpp')
-rw-r--r-- | tdeui/kdockwidget_private.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/kdockwidget_private.cpp b/tdeui/kdockwidget_private.cpp index a067efe2a..3b9d91b34 100644 --- a/tdeui/kdockwidget_private.cpp +++ b/tdeui/kdockwidget_private.cpp @@ -625,7 +625,7 @@ KDockButton_Private::KDockButton_Private( TQWidget *parent, const char * name ) :TQPushButton( parent, name ) { moveMouse = false; - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); } KDockButton_Private::~KDockButton_Private() @@ -701,7 +701,7 @@ void KDockWidgetPrivate::slotFocusEmbeddedWidget(TQWidget* w) { if (w) { TQWidget* embeddedWdg = ((KDockWidget*)w)->getWidget(); - if (embeddedWdg && ((embeddedWdg->focusPolicy() == TQ_ClickFocus) || (embeddedWdg->focusPolicy() == TQ_StrongFocus))) { + if (embeddedWdg && ((embeddedWdg->focusPolicy() == TQWidget::ClickFocus) || (embeddedWdg->focusPolicy() == TQWidget::StrongFocus))) { embeddedWdg->setFocus(); } } |