D25961: [WIP] Switch the Attica KDE plugin to use KAccounts

Nicolas Fella noreply at phabricator.kde.org
Wed Feb 26 00:04:39 GMT 2020


nicolasfella added inline comments.

INLINE COMMENTS

> kdeplatformdependent.cpp:165
> +    // directly requests the accounts kcm to start adding a new account if it's not there, maybe even pre-fills the fields...)
> +    KService::List services = KServiceTypeTrader::self()->query(QStringLiteral("KCModule"), QStringLiteral("Library == 'kcm_kaccounts'"));
> +    // If we failed to get the kcm, tell the caller we failed

This sounds like a use case for KCMultiDialog, like e.g. in https://invent.kde.org/kde/kdeconnect-kde/-/blob/master/settings/main.cpp

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D25961

To: leinir
Cc: nicolasfella, apol, zachus, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20200226/e1da9ae5/attachment.html>


More information about the Plasma-devel mailing list