on xenial help sign in
line length
f61e813Nick Dedekind
plugins/AccountsService/AccountsService.cpp+27−9
@@ -126,7 +126,9 @@ bool AccountsService::hereLicensePathValid() const
126
126
127void AccountsService::updateDemoEdges(bool async)
127void AccountsService::updateDemoEdges(bool async)
128{
128{
129− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.canonical.unity.AccountsService", "demo-edges");
129+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
130+ "com.canonical.unity.AccountsService",
131+ "demo-edges");
130 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
132 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
131
133
132 connect(watcher, &QDBusPendingCallWatcher::finished,
134 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -151,7 +153,9 @@ void AccountsService::updateDemoEdges(bool async)
151
153
152void AccountsService::updateEnableLauncherWhileLocked(bool async)
154void AccountsService::updateEnableLauncherWhileLocked(bool async)
153{
155{
154− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.AccountsService.SecurityPrivacy", "EnableLauncherWhileLocked");
156+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
157+ "com.ubuntu.AccountsService.SecurityPrivacy",
158+ "EnableLauncherWhileLocked");
155 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
159 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
156
160
157 connect(watcher, &QDBusPendingCallWatcher::finished,
161 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -176,7 +180,9 @@ void AccountsService::updateEnableLauncherWhileLocked(bool async)
176
180
177void AccountsService::updateEnableIndicatorsWhileLocked(bool async)
181void AccountsService::updateEnableIndicatorsWhileLocked(bool async)
178{
182{
179− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.AccountsService.SecurityPrivacy", "EnableIndicatorsWhileLocked");
183+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
184+ "com.ubuntu.AccountsService.SecurityPrivacy",
185+ "EnableIndicatorsWhileLocked");
180 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
186 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
181
187
182 connect(watcher, &QDBusPendingCallWatcher::finished,
188 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -201,7 +207,9 @@ void AccountsService::updateEnableIndicatorsWhileLocked(bool async)
201
207
202void AccountsService::updateBackgroundFile(bool async)
208void AccountsService::updateBackgroundFile(bool async)
203{
209{
204− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "org.freedesktop.Accounts.User", "BackgroundFile");
210+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
211+ "org.freedesktop.Accounts.User",
212+ "BackgroundFile");
205 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
213 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
206
214
207 connect(watcher, &QDBusPendingCallWatcher::finished,
215 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -226,7 +234,9 @@ void AccountsService::updateBackgroundFile(bool async)
226
234
227void AccountsService::updateStatsWelcomeScreen(bool async)
235void AccountsService::updateStatsWelcomeScreen(bool async)
228{
236{
229− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.touch.AccountsService.SecurityPrivacy", "StatsWelcomeScreen");
237+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
238+ "com.ubuntu.touch.AccountsService.SecurityPrivacy",
239+ "StatsWelcomeScreen");
230 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
240 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
231
241
232 connect(watcher, &QDBusPendingCallWatcher::finished,
242 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -251,7 +261,9 @@ void AccountsService::updateStatsWelcomeScreen(bool async)
251
261
252void AccountsService::updatePasswordDisplayHint(bool async)
262void AccountsService::updatePasswordDisplayHint(bool async)
253{
263{
254− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.touch.AccountsService.SecurityPrivacy", "StatsWelcomeScreen");
264+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
265+ "com.ubuntu.touch.AccountsService.SecurityPrivacy",
266+ "StatsWelcomeScreen");
255 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
267 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
256
268
257 connect(watcher, &QDBusPendingCallWatcher::finished,
269 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -276,7 +288,9 @@ void AccountsService::updatePasswordDisplayHint(bool async)
276
288
277void AccountsService::updateFailedLogins(bool async)
289void AccountsService::updateFailedLogins(bool async)
278{
290{
279− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.canonical.unity.AccountsService.Private", "FailedLogins");
291+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
292+ "com.canonical.unity.AccountsService.Private",
293+ "FailedLogins");
280 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
294 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
281
295
282 connect(watcher, &QDBusPendingCallWatcher::finished,
296 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -301,7 +315,9 @@ void AccountsService::updateFailedLogins(bool async)
301
315
302void AccountsService::updateHereEnabled(bool async)
316void AccountsService::updateHereEnabled(bool async)
303{
317{
304− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.location.providers.here.AccountsService", "LicenseAccepted");
318+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
319+ "com.ubuntu.location.providers.here.AccountsService",
320+ "LicenseAccepted");
305 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
321 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
306
322
307 connect(watcher, &QDBusPendingCallWatcher::finished,
323 connect(watcher, &QDBusPendingCallWatcher::finished,
@@ -326,7 +342,9 @@ void AccountsService::updateHereEnabled(bool async)
326
342
327void AccountsService::updateHereLicensePath(bool async)
343void AccountsService::updateHereLicensePath(bool async)
328{
344{
329− QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user, "com.ubuntu.location.providers.here.AccountsService", "LicenseBasePath");
345+ QDBusPendingCall pendingReply = m_service->getUserPropertyAsync(m_user,
346+ "com.ubuntu.location.providers.here.AccountsService",
347+ "LicenseBasePath");
330 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
348 QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(pendingReply, this);
331
349
332 connect(watcher, &QDBusPendingCallWatcher::finished,
350 connect(watcher, &QDBusPendingCallWatcher::finished,