From 5e12d4d4f27e4ce27a8c9e6145bc6e45840e00f2 Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 17 12月 2023 15:11:48 +0800
Subject: [PATCH] Add qmake and msbuild config files

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

diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h
index c0d595d..cfed3a6 100644
--- a/examples/mainwindow/mainwindow.h
+++ b/examples/mainwindow/mainwindow.h
@@ -4,9 +4,16 @@
 #include <QtWidgets/QMainWindow>
 
 class MainWindow : public QMainWindow {
+    Q_OBJECT
 public:
     explicit MainWindow(QWidget *parent = nullptr);
-    ~MainWindow();
+    ~MainWindow() override;
+
+protected:
+    bool event(QEvent *event) override;
+
+private:
+    void installWindowAgent();
 };
 
 #endif // MAINWINDOW_H

--
Gitblit v1.9.1