From 58ef035603b8e3bf9299b4bddcdebcc653ea8810 Mon Sep 17 00:00:00 2001
From: SineStriker <trueful@163.com>
Date: 周五, 29 12月 2023 11:50:33 +0800
Subject: [PATCH] Window bar support I18N

---
 examples/mainwindow/mainwindow.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h
index 5511105..e7b601d 100644
--- a/examples/mainwindow/mainwindow.h
+++ b/examples/mainwindow/mainwindow.h
@@ -3,6 +3,11 @@
 
 #include <QtWidgets/QMainWindow>
 
+namespace QWK {
+    class WidgetWindowAgent;
+    class StyleAgent;
+}
+
 class MainWindow : public QMainWindow {
     Q_OBJECT
 public:
@@ -26,6 +31,8 @@
     void loadStyleSheet(Theme theme);
 
     Theme currentTheme{};
+
+    QWK::WidgetWindowAgent *windowAgent;
 };
 
 #endif // MAINWINDOW_H

--
Gitblit v1.9.1