summaryrefslogtreecommitdiff
path: root/liblightdm-qt
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2012-09-11 13:47:35 -0400
committerMichael Terry <michael.terry@canonical.com>2012-09-11 13:47:35 -0400
commita420130af184b73c2261a15491c89bcb13bbc4aa (patch)
treef1a6cf179a1e5bbd78caaa3ca100f7b0e0c17258 /liblightdm-qt
parentbc7675aba3224119ec1d7be10428800bb3b72577 (diff)
downloadlightdm-a420130af184b73c2261a15491c89bcb13bbc4aa.tar.gz
Add greeter-show-remote-login hint
Diffstat (limited to 'liblightdm-qt')
-rw-r--r--liblightdm-qt/QLightDM/greeter.h1
-rw-r--r--liblightdm-qt/greeter.cpp6
2 files changed, 7 insertions, 0 deletions
diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h
index 4c6799e0..4cf37632 100644
--- a/liblightdm-qt/QLightDM/greeter.h
+++ b/liblightdm-qt/QLightDM/greeter.h
@@ -55,6 +55,7 @@ public:
QString defaultSessionHint() const;
bool hideUsersHint() const;
bool showManualLoginHint() const;
+ bool showRemoteLoginHint() const;
bool lockHint () const;
bool hasGuestAccountHint() const;
QString selectUserHint() const;
diff --git a/liblightdm-qt/greeter.cpp b/liblightdm-qt/greeter.cpp
index 2df535b5..7643e407 100644
--- a/liblightdm-qt/greeter.cpp
+++ b/liblightdm-qt/greeter.cpp
@@ -192,6 +192,12 @@ bool Greeter::showManualLoginHint() const
return lightdm_greeter_get_show_manual_login_hint(d->ldmGreeter);
}
+bool Greeter::showRemoteLoginHint() const
+{
+ Q_D(const Greeter);
+ return lightdm_greeter_get_show_remote_login_hint(d->ldmGreeter);
+}
+
bool Greeter::lockHint() const
{
Q_D(const Greeter);