From 031c0e92c1c10e793175c1bb63ec36ad10fe501e Mon Sep 17 00:00:00 2001 From: Sine Striker <trueful@163.com> Date: 周一, 29 4月 2024 01:17:35 +0800 Subject: [PATCH] minor tweaks --- src/quick/quickwindowagent.h | 4 ++-- src/core/CMakeLists.txt | 2 +- src/widgets/widgetwindowagent.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index d524067..9abe22e 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -85,7 +85,7 @@ list(APPEND _src style/styleagent_linux.cpp) endif() else() - list(APPEND _sync_include_options EXCLUDE "style/\\.+") + list(APPEND _sync_include_options EXCLUDE "src/core/style/\\.+") endif() qwk_add_library(${PROJECT_NAME} AUTOGEN diff --git a/src/quick/quickwindowagent.h b/src/quick/quickwindowagent.h index c319615..e5a9b5a 100644 --- a/src/quick/quickwindowagent.h +++ b/src/quick/quickwindowagent.h @@ -44,8 +44,8 @@ #endif Q_SIGNALS: - void titleBarWidgetChanged(const QQuickItem *item); - void systemButtonChanged(SystemButton button, const QQuickItem *item); + void titleBarWidgetChanged(QQuickItem *item); + void systemButtonChanged(SystemButton button, QQuickItem *item); protected: QuickWindowAgent(QuickWindowAgentPrivate &d, QObject *parent = nullptr); diff --git a/src/widgets/widgetwindowagent.h b/src/widgets/widgetwindowagent.h index 2d73ef1..0b1c0e9 100644 --- a/src/widgets/widgetwindowagent.h +++ b/src/widgets/widgetwindowagent.h @@ -43,8 +43,8 @@ void setHitTestVisible(const QWidget *w, bool visible = true); Q_SIGNALS: - void titleBarChanged(const QWidget *w); - void systemButtonChanged(SystemButton button, const QWidget *w); + void titleBarChanged(QWidget *w); + void systemButtonChanged(SystemButton button, QWidget *w); protected: WidgetWindowAgent(WidgetWindowAgentPrivate &d, QObject *parent = nullptr); -- Gitblit v1.9.1