diff options
author | Aurelien Gateau <aurelien.gateau@canonical.com> | 2011-12-01 09:34:59 +0100 |
---|---|---|
committer | Aurelien Gateau <aurelien.gateau@canonical.com> | 2011-12-01 09:34:59 +0100 |
commit | e8a4fbab4065e62665421fe2cc33aee5bcfb404c (patch) | |
tree | f54d3126e46ac7e09403549ee8d7f74adf24dafd /liblightdm-qt/QLightDM | |
parent | 124d031e15ea7272193a0c3478277792ba5a524d (diff) | |
download | lightdm-git-e8a4fbab4065e62665421fe2cc33aee5bcfb404c.tar.gz |
Add "hostname" property to Greeter
Diffstat (limited to 'liblightdm-qt/QLightDM')
-rw-r--r-- | liblightdm-qt/QLightDM/greeter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h index 7a1e00a9..a9d8bacf 100644 --- a/liblightdm-qt/QLightDM/greeter.h +++ b/liblightdm-qt/QLightDM/greeter.h @@ -26,7 +26,9 @@ class Q_DECL_EXPORT Greeter : public QObject Q_OBJECT Q_PROPERTY(bool authenticated READ isAuthenticated ); //NOTFIY authenticationComplete - + + Q_PROPERTY(QString hostname READ hostname); + public: enum PromptType { PromptTypeQuestion, @@ -54,6 +56,7 @@ public: bool inAuthentication() const; bool isAuthenticated() const; QString authenticationUser() const; + QString hostname() const; public slots: bool connectSync(); |