summaryrefslogtreecommitdiffstats
path: root/tdeui/kdockwidget_private.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-02 15:53:29 +0900
committerMichele Calgaro <[email protected]>2023-09-02 15:53:29 +0900
commit1e5d5c92c374c8c950f01fa5aa916b3f722f98c1 (patch)
treef8538d6a34bf4683fdb8e2ed33923406b1659c09 /tdeui/kdockwidget_private.cpp
parent34632650f1a323bdb5a0bbb0f504e3db70d87330 (diff)
downloadtdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.tar.gz
tdelibs-1e5d5c92c374c8c950f01fa5aa916b3f722f98c1.zip
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/kdockwidget_private.cpp')
-rw-r--r--tdeui/kdockwidget_private.cpp4
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();
}
}