summaryrefslogtreecommitdiffstats
path: root/src/loginform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/loginform.h')
-rw-r--r--src/loginform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/loginform.h b/src/loginform.h
index 6dfc390..b4dde7c 100644
--- a/src/loginform.h
+++ b/src/loginform.h
@@ -44,6 +44,7 @@ public slots:
void onMessage(QString prompt, QLightDM::Greeter::MessageType messageType);
void onAuthenticationComplete();
void cancelLogin();
+ void hideMessage();
protected:
virtual void keyPressEvent(QKeyEvent *event);
@@ -53,6 +54,7 @@ private:
void addLeaveEntry(bool canDo, QString iconName, QString text, QString actionName);
QString currentSession();
void setCurrentSession(QString session);
+ void showMessage(QString message, bool error);
Ui::LoginForm *ui;
@@ -63,6 +65,7 @@ private:
QMap<int, void (QLightDM::PowerInterface::*)()> powerSlots;
QTimer cancelLoginTimer;
+ QTimer hideMessageTimer;
bool clearMsg;
};