From c3c6647e7888b7dbe9d9d22fb77bf08104a3653c Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周一, 11 12月 2023 02:14:32 +0800
Subject: [PATCH] refactor

---
 src/core/windowagentbase.h |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/core/corewindowagent.h b/src/core/windowagentbase.h
similarity index 62%
rename from src/core/corewindowagent.h
rename to src/core/windowagentbase.h
index 1681acc..1f5e50a 100644
--- a/src/core/corewindowagent.h
+++ b/src/core/windowagentbase.h
@@ -1,5 +1,5 @@
-#ifndef COREWINDOWAGENT_H
-#define COREWINDOWAGENT_H
+#ifndef WINDOWAGENTBASE_H
+#define WINDOWAGENTBASE_H
 
 #include <memory>
 
@@ -9,13 +9,13 @@
 
 namespace QWK {
 
-    class CoreWindowAgentPrivate;
+    class WindowAgentBasePrivate;
 
-    class QWK_CORE_EXPORT CoreWindowAgent : public QObject {
+    class QWK_CORE_EXPORT WindowAgentBase : public QObject {
         Q_OBJECT
-        Q_DECLARE_PRIVATE(CoreWindowAgent)
+        Q_DECLARE_PRIVATE(WindowAgentBase)
     public:
-        ~CoreWindowAgent() override;
+        ~WindowAgentBase() override;
 
         enum SystemButton {
             Unknown,
@@ -36,11 +36,11 @@
         void raise();
 
     protected:
-        explicit CoreWindowAgent(CoreWindowAgentPrivate &d, QObject *parent = nullptr);
+        explicit WindowAgentBase(WindowAgentBasePrivate &d, QObject *parent = nullptr);
 
-        const std::unique_ptr<CoreWindowAgentPrivate> d_ptr;
+        const std::unique_ptr<WindowAgentBasePrivate> d_ptr;
     };
 
 }
 
-#endif // COREWINDOWAGENT_H
\ No newline at end of file
+#endif // WINDOWAGENTBASE_H
\ No newline at end of file

--
Gitblit v1.9.1