summaryrefslogtreecommitdiffstats
path: root/src/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings.h b/src/settings.h
index 4d8f04b..a218e3b 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -3,6 +3,7 @@
#include <QSettings>
#include <QDir>
+#include <QTextCodec>
#define CONFIG_FILE "/etc/lightdm/qt-lightdm-greeter.conf"
#define CONFIG_FOLDER "/etc/lightdm/qt-lightdm-greeter.conf.d"
@@ -59,6 +60,7 @@ public:
static QString guestSessionButtonText() { return s_settings->value("guest-session-button-text").toString(); }
static QString guestSessionStartText() { return s_settings->value("guest-session-start-text").toString(); }
static QString guestSessionStartButtonText() { return s_settings->value("guest-session-start-button-text").toString(); }
+ static QString allowedShibbolethDomains() { return s_settings->value("allowed-shibboleth-domains").toString(); }
static int resetForm() { return s_settings->value("reset-timeout", "30").toInt(); }
static int rpcPort() { return s_settings->value("rpc-port", "0").toInt(); }
};