summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorSimon Rettberg2018-01-19 12:05:16 +0100
committerSimon Rettberg2018-01-19 12:05:16 +0100
commitd93a1abd2806bdab8f8d11d96b641989e333d7d4 (patch)
treeb0774802d596f35877ed12d132db34041eb024e6 /src/mainwindow.h
parentFix image scaling by using proper existing methods instead of broken copy & p... (diff)
downloadslxgreeter-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.h4
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();