Refactory lock screen and screen saver.

This commit is contained in:
sunwen
2024-05-06 16:51:15 +08:00
parent 6f13ef7dc7
commit 29fea313ad
8 changed files with 21 additions and 52 deletions

View File

@@ -30,8 +30,7 @@ class ScreenSaverWindow : public QWidget
public:
explicit ScreenSaverWindow(QWidget *aParent = nullptr);
void play();
void stop(bool aIsStopLocker = false);
void startLocker();
void stop();
protected:
void mousePressEvent(QMouseEvent* aEvent);