Changeset View
Changeset View
Standalone View
Standalone View
greeter/greeterapp.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 51 | public: | |||
---|---|---|---|---|---|
58 | void lockImmediately(); | 58 | void lockImmediately(); | ||
59 | void setGraceTime(int milliseconds); | 59 | void setGraceTime(int milliseconds); | ||
60 | void setNoLock(bool noLock); | 60 | void setNoLock(bool noLock); | ||
61 | void setKsldSocket(int socket); | 61 | void setKsldSocket(int socket); | ||
62 | void setDefaultToSwitchUser(bool defaultToSwitchUser); | 62 | void setDefaultToSwitchUser(bool defaultToSwitchUser); | ||
63 | 63 | | |||
64 | void osdProgress(const QString &icon, int percent, const QString &additionalText); | 64 | void osdProgress(const QString &icon, int percent, const QString &additionalText); | ||
65 | void osdText(const QString &icon, const QString &additionalText); | 65 | void osdText(const QString &icon, const QString &additionalText); | ||
66 | // we name method notification here instead of the notify, since otherwise | ||||
67 | // it gives warning regarding QGuiApplication::notify | ||||
68 | void notification(uint id, const QString &appName, uint replacesId, const QString &appIcon, const QString &summary, const QString &body, int timeout); | ||||
66 | void updateCanSuspend(bool set); | 69 | void updateCanSuspend(bool set); | ||
67 | void updateCanHibernate(bool set); | 70 | void updateCanHibernate(bool set); | ||
68 | 71 | | |||
69 | bool supportsSeccomp() const { | 72 | bool supportsSeccomp() const { | ||
70 | return m_supportsSeccomp; | 73 | return m_supportsSeccomp; | ||
71 | } | 74 | } | ||
72 | 75 | | |||
73 | public Q_SLOTS: | 76 | public Q_SLOTS: | ||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |