Changeset View
Changeset View
Standalone View
Standalone View
ksldapp.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 64 | public: | |||
---|---|---|---|---|---|
95 | 95 | | |||
96 | /** | 96 | /** | ||
97 | * Can be used by the lock window to remove the lock during grace time. | 97 | * Can be used by the lock window to remove the lock during grace time. | ||
98 | **/ | 98 | **/ | ||
99 | void unlock(); | 99 | void unlock(); | ||
100 | void inhibit(); | 100 | void inhibit(); | ||
101 | void uninhibit(); | 101 | void uninhibit(); | ||
102 | 102 | | |||
103 | void lock(EstablishLock establishLock); | 103 | void lock(EstablishLock establishLock, int attemptCount = 0); | ||
104 | void initialize(); | 104 | void initialize(); | ||
105 | 105 | | |||
106 | bool event(QEvent *event) override; | 106 | bool event(QEvent *event) override; | ||
107 | 107 | | |||
108 | /** | 108 | /** | ||
109 | * For testing | 109 | * For testing | ||
110 | * @internal | 110 | * @internal | ||
111 | **/ | 111 | **/ | ||
Show All 19 Lines | 130 | bool forceSoftwareRendering() const { | |||
131 | return m_forceSoftwareRendering; | 131 | return m_forceSoftwareRendering; | ||
132 | } | 132 | } | ||
133 | 133 | | |||
134 | void setForceSoftwareRendering(bool force) { | 134 | void setForceSoftwareRendering(bool force) { | ||
135 | m_forceSoftwareRendering = force; | 135 | m_forceSoftwareRendering = force; | ||
136 | } | 136 | } | ||
137 | 137 | | |||
138 | Q_SIGNALS: | 138 | Q_SIGNALS: | ||
139 | void aboutToLock(); | ||||
139 | void locked(); | 140 | void locked(); | ||
140 | void unlocked(); | 141 | void unlocked(); | ||
141 | void greeterClientConnectionChanged(); | 142 | void greeterClientConnectionChanged(); | ||
142 | void lockStateChanged(); | 143 | void lockStateChanged(); | ||
143 | 144 | | |||
144 | private Q_SLOTS: | 145 | private Q_SLOTS: | ||
145 | void cleanUp(); | 146 | void cleanUp(); | ||
146 | void endGraceTime(); | 147 | void endGraceTime(); | ||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |