diff options
author | Simon Rettberg | 2017-11-12 13:04:26 +0100 |
---|---|---|
committer | Simon Rettberg | 2017-11-12 13:04:26 +0100 |
commit | 542b440ad64b50f265b72246981d5e9d655eb4d4 (patch) | |
tree | eecc5cca04dc8643662cdb1415ceeb03cc97a9c9 /src/loginform.h | |
parent | WORK IN PROGRESS! Add bwlp logo, banner support, log message window (diff) | |
download | slxgreeter-542b440ad64b50f265b72246981d5e9d655eb4d4.tar.gz slxgreeter-542b440ad64b50f265b72246981d5e9d655eb4d4.tar.xz slxgreeter-542b440ad64b50f265b72246981d5e9d655eb4d4.zip |
Fix banner display, gradient parsing, add test mode (--test)
Diffstat (limited to 'src/loginform.h')
-rw-r--r-- | src/loginform.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/loginform.h b/src/loginform.h index b4dde7c..5e6f870 100644 --- a/src/loginform.h +++ b/src/loginform.h @@ -30,10 +30,8 @@ class LoginForm : public QWidget { Q_OBJECT -friend class DecoratedUsersModel; - public: - explicit LoginForm(QWidget *parent = 0); + explicit LoginForm(bool testMode, QWidget *parent = 0); ~LoginForm(); virtual void setFocus(Qt::FocusReason reason); @@ -58,9 +56,9 @@ private: Ui::LoginForm *ui; - QLightDM::Greeter m_Greeter; - QLightDM::PowerInterface power; - QLightDM::SessionsModel sessionsModel; + QLightDM::Greeter *m_Greeter; + QLightDM::PowerInterface *power; + QLightDM::SessionsModel *sessionsModel; QMap<int, void (QLightDM::PowerInterface::*)()> powerSlots; |