Changeset View
Changeset View
Standalone View
Standalone View
greeter/authenticator.cpp
Show All 30 Lines | |||||
31 | #include <QTimer> | 31 | #include <QTimer> | ||
32 | 32 | | |||
33 | // system | 33 | // system | ||
34 | #include <errno.h> | 34 | #include <errno.h> | ||
35 | #include <sys/types.h> | 35 | #include <sys/types.h> | ||
36 | #include <sys/socket.h> | 36 | #include <sys/socket.h> | ||
37 | #include <sys/wait.h> | 37 | #include <sys/wait.h> | ||
38 | #include <unistd.h> | 38 | #include <unistd.h> | ||
39 | #include <signal.h> | ||||
39 | 40 | | |||
40 | Authenticator::Authenticator(AuthenticationMode mode, QObject *parent) | 41 | Authenticator::Authenticator(AuthenticationMode mode, QObject *parent) | ||
41 | : QObject(parent) | 42 | : QObject(parent) | ||
42 | , m_graceLockTimer(new QTimer(this)) | 43 | , m_graceLockTimer(new QTimer(this)) | ||
43 | , m_checkPass(nullptr) | 44 | , m_checkPass(nullptr) | ||
44 | { | 45 | { | ||
45 | m_graceLockTimer->setSingleShot(true); | 46 | m_graceLockTimer->setSingleShot(true); | ||
46 | m_graceLockTimer->setInterval(3000); | 47 | m_graceLockTimer->setInterval(3000); | ||
▲ Show 20 Lines • Show All 284 Lines • Show Last 20 Lines |