From a8f627e6d45af521718176586daf0253b4daa597 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 2 Sep 2023 15:52:49 +0900 Subject: Replace TQ_*Focus* and TQ_Scale* defines Signed-off-by: Michele Calgaro --- kcontrol/style/menupreview.cpp | 2 +- kcontrol/style/stylepreview.ui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol/style') diff --git a/kcontrol/style/menupreview.cpp b/kcontrol/style/menupreview.cpp index 145ec465f..6d8514fc1 100644 --- a/kcontrol/style/menupreview.cpp +++ b/kcontrol/style/menupreview.cpp @@ -34,7 +34,7 @@ MenuPreview::MenuPreview( TQWidget* parent, int opacity, PreviewMode pvm ) pixBackground(NULL), pixOverlay(NULL), pixBlended(NULL) { setFixedSize(150, 150); - setFocusPolicy( TQ_NoFocus ); + setFocusPolicy( TQWidget::NoFocus ); mode = pvm; if (opacity < 0) opacity = 0; diff --git a/kcontrol/style/stylepreview.ui.h b/kcontrol/style/stylepreview.ui.h index 66bc6ade5..38f47ecee 100644 --- a/kcontrol/style/stylepreview.ui.h +++ b/kcontrol/style/stylepreview.ui.h @@ -40,7 +40,7 @@ void StylePreview::init() { ++it; obj->installEventFilter(this); - ((TQWidget*)obj)->setFocusPolicy(TQ_NoFocus); + ((TQWidget*)obj)->setFocusPolicy(TQWidget::NoFocus); } delete l; } -- cgit v1.2.1