From 7966371dead9076db6c56de4074b36d6f628678b Mon Sep 17 00:00:00 2001 From: SineStriker <55847490+SineStriker@users.noreply.github.com> Date: 周五, 14 3月 2025 17:35:50 +0800 Subject: [PATCH] AWC: remove isEnabled in test methods --- examples/shared/widgetframe/windowbar_p.h | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/examples/shared/widgetframe/windowbar_p.h b/examples/shared/widgetframe/windowbar_p.h index 5f0f4cf..35422ae 100644 --- a/examples/shared/widgetframe/windowbar_p.h +++ b/examples/shared/widgetframe/windowbar_p.h @@ -1,3 +1,7 @@ +// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware) +// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao) +// SPDX-License-Identifier: Apache-2.0 + #ifndef WINDOWBARPRIVATE_H #define WINDOWBARPRIVATE_H @@ -25,8 +29,9 @@ IconButton, MenuWidget, TitleLabel, - MinimumButton, - MaximumButton, + PinButton, + MinimizeButton, + MaximizeButton, CloseButton, }; @@ -45,7 +50,7 @@ } private: - Q_DISABLE_COPY_MOVE(WindowBarPrivate) + Q_DISABLE_COPY(WindowBarPrivate) }; } -- Gitblit v1.9.1