summaryrefslogtreecommitdiff
path: root/liblightdm-qt
diff options
context:
space:
mode:
authorDavid Edmundson <david@davidedmundson.co.uk>2011-11-16 00:27:44 +0000
committerDavid Edmundson <david@davidedmundson.co.uk>2011-11-16 00:27:44 +0000
commit13a83204e132a2cc8044b3e120d1cb208ef0443e (patch)
treeed1ab7076f6734f00a375f7b1aa4c091b962eb8c /liblightdm-qt
parentf61e53663f98fce199502a98d14785c21a76bd69 (diff)
downloadlightdm-13a83204e132a2cc8044b3e120d1cb208ef0443e.tar.gz
Fix whitespace
Diffstat (limited to 'liblightdm-qt')
-rw-r--r--liblightdm-qt/QLightDM/greeter.h108
1 files changed, 54 insertions, 54 deletions
diff --git a/liblightdm-qt/QLightDM/greeter.h b/liblightdm-qt/QLightDM/greeter.h
index 9010004b..487f7627 100644
--- a/liblightdm-qt/QLightDM/greeter.h
+++ b/liblightdm-qt/QLightDM/greeter.h
@@ -22,62 +22,62 @@ class GreeterPrivate;
namespace QLightDM
{
- class Q_DECL_EXPORT Greeter : public QObject
- {
- Q_OBJECT
- public:
-
- enum PromptType {
- PromptTypeQuestion,
- PromptTypeSecret
- };
-
- enum MessageType {
- MessageTypeInfo,
- MessageTypeError
- };
-
- explicit Greeter(QObject* parent=0);
- virtual ~Greeter();
-
- QString timedLoginUser() const;
- int timedLoginDelay() const;
-
- QString getHint(QString name) const;
- QString defaultSessionHint() const;
- bool hideUsersHint() const;
- bool hasGuestAccountHint() const;
- QString selectUserHint() const;
- bool selectGuestHint() const;
- QString autologinUserHint() const;
- bool autologinGuestHint() const;
- int autologinTimeoutHint() const;
- bool inAuthentication() const;
- bool isAuthenticated() const;
- QString authenticationUser() const;
-
- public slots:
- bool connectSync();
- void authenticate(const QString &username=QString());
- void authenticateAsGuest();
- void respond(const QString &response);
- void cancelAuthentication();
- void setLanguage (QString language);
- bool startSessionSync(const QString &session=QString());
-
- signals:
- void showMessage(QString text, Greeter::MessageType type);
- void showPrompt(QString text, Greeter::PromptType type);
- void authenticationComplete();
- void autologinTimerExpired();
-
- private slots:
- void onRead(int fd);
-
- private:
- GreeterPrivate *d;
+class Q_DECL_EXPORT Greeter : public QObject
+{
+ Q_OBJECT
+public:
+
+ enum PromptType {
+ PromptTypeQuestion,
+ PromptTypeSecret
+ };
+ enum MessageType {
+ MessageTypeInfo,
+ MessageTypeError
};
+
+ explicit Greeter(QObject* parent=0);
+ virtual ~Greeter();
+
+ QString timedLoginUser() const;
+ int timedLoginDelay() const;
+
+ QString getHint(QString name) const;
+ QString defaultSessionHint() const;
+ bool hideUsersHint() const;
+ bool hasGuestAccountHint() const;
+ QString selectUserHint() const;
+ bool selectGuestHint() const;
+ QString autologinUserHint() const;
+ bool autologinGuestHint() const;
+ int autologinTimeoutHint() const;
+ bool inAuthentication() const;
+ bool isAuthenticated() const;
+ QString authenticationUser() const;
+
+public slots:
+ bool connectSync();
+ void authenticate(const QString &username=QString());
+ void authenticateAsGuest();
+ void respond(const QString &response);
+ void cancelAuthentication();
+ void setLanguage (QString language);
+ bool startSessionSync(const QString &session=QString());
+
+signals:
+ void showMessage(QString text, Greeter::MessageType type);
+ void showPrompt(QString text, Greeter::PromptType type);
+ void authenticationComplete();
+ void autologinTimerExpired();
+
+private slots:
+ void onRead(int fd);
+
+private:
+ GreeterPrivate *d;
+
+};
};
#endif // QLIGHTDM_GREETER_H