summaryrefslogtreecommitdiff
path: root/liblightdm-qt/greeter.cpp
diff options
context:
space:
mode:
authorDavid Edmundson <david@davidedmundson.co.uk>2011-11-10 01:59:37 +0000
committerDavid Edmundson <david@davidedmundson.co.uk>2011-11-10 01:59:37 +0000
commitc022466de7aeee9a2d1893e5d356b1fcf3300d62 (patch)
tree94dc7ee77b6d26e0b7f0c962bf1ad28fba5b55e9 /liblightdm-qt/greeter.cpp
parentbe5dc4aad74502baefdd84b7d2866bd0d877faf3 (diff)
downloadlightdm-c022466de7aeee9a2d1893e5d356b1fcf3300d62.tar.gz
Fix Qt headers.
Fix moc loading to match other other code Create system class rather than using namespace methods.
Diffstat (limited to 'liblightdm-qt/greeter.cpp')
-rw-r--r--liblightdm-qt/greeter.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/liblightdm-qt/greeter.cpp b/liblightdm-qt/greeter.cpp
index bc8ec28a..9c062336 100644
--- a/liblightdm-qt/greeter.cpp
+++ b/liblightdm-qt/greeter.cpp
@@ -10,11 +10,11 @@
* license.
*/
-#include "config.h"
-#include "QLightDM/Greeter"
+#include "QLightDM/greeter.h"
+
+#include "config.h"
-#include <security/pam_appl.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>
#include <QtCore/QVariant>
@@ -27,6 +27,9 @@
#include <QtDBus/QDBusInterface>
#include <QtDBus/QDBusReply>
+#include <security/pam_appl.h>
+
+
/* Messages from the greeter to the server */
typedef enum
{
@@ -489,3 +492,5 @@ int Greeter::autologinTimeoutHint() const
{
return d->hints.value ("autologin-timeout", "0").toInt ();
}
+
+#include "greeter_moc.cpp" \ No newline at end of file