diff options
author | Simon Rettberg | 2018-01-19 12:05:16 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-01-19 12:05:16 +0100 |
commit | d93a1abd2806bdab8f8d11d96b641989e333d7d4 (patch) | |
tree | b0774802d596f35877ed12d132db34041eb024e6 /src/mainwindow.h | |
parent | Fix image scaling by using proper existing methods instead of broken copy & p... (diff) | |
download | slxgreeter-d93a1abd2806bdab8f8d11d96b641989e333d7d4.tar.gz slxgreeter-d93a1abd2806bdab8f8d11d96b641989e333d7d4.tar.xz slxgreeter-d93a1abd2806bdab8f8d11d96b641989e333d7d4.zip |
Temporarily show sleep icon when receiving USR1
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 53c54e0..e136540 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -43,6 +43,10 @@ public: QImage& getBackground() { return m_background; } LoginForm* loginForm() { return m_LoginForm; } + +public slots: + void showStandby(); + private: int getOffset(QString offset, int maxVal, int defaultVal); void setBackground(); |