[Telepathy] Profiles in TpQt4

Olli Salli ollisal at gmail.com
Sat Apr 23 03:48:11 PDT 2011


On Sat, Apr 23, 2011 at 3:55 AM, David Edmundson
<david at davidedmundson.co.uk> wrote:
>
> Managed to answer my own question:
>  setServiceName() on the newly created account.
> Can I still request/suggest that serviceName becomes an optional parameter
> to  AccountManager::CreateAccount() ?
>
>

Actually there is a properties optional param which you can use to set
whichever property on the created account. Sadly, one has to figure
out that they actually want to set the
"org.freedesktop.Telepathy.Account.Service" property in that bare
variant map! Some time ago I discussed with Thomas Richard a cunning
plan to avoid that, by replacing the method with one that takes a
helper variantmap wrapper class such as AccountInitialProperties,
which you could fill using accessors like setServiceName() before
passing to createAccount. I failed to document this initiative,
though, a failing now corrected at
https://bugs.freedesktop.org/show_bug.cgi?id=33153.

Contributions welcome... I don't think I have the time to implement
that class myself very soon, but would be glad to review it. 

-- 

Br,
Olli Salli


More information about the telepathy mailing list