From f4e2ebc5a54ba84014d4e7820d57b5c7a59a786d Mon Sep 17 00:00:00 2001
From: tanyulong <tanyulong@kylinos.cn>
Date: Thu, 11 Nov 2021 15:50:16 +0800
Subject: [PATCH] add startlogout signal

---
 ukui-session/sessiondbusadaptor.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/ukui-session/sessiondbusadaptor.h b/ukui-session/sessiondbusadaptor.h
index 4da2b55..e75953c 100755
--- a/ukui-session/sessiondbusadaptor.h
+++ b/ukui-session/sessiondbusadaptor.h
@@ -41,6 +41,7 @@ public:
 
 Q_SIGNALS:
     void moduleStateChanged(QString moduleName, bool state);
+    void StartLogout();
 
 public slots:
     bool canLogout()
@@ -114,6 +115,12 @@ public slots:
         mManager->stopProcess(name);
     }
 
+    Q_NOREPLY void emitStartLogout(){
+	    qDebug()<<"emit  StartLogout";
+	    emit StartLogout();
+    }
+
+
 private:
     ModuleManager *mManager;
     UkuiPower *mPower;
-- 
2.30.0

