[Telepathy] Profiles in TpQt4

David Edmundson david at davidedmundson.co.uk
Fri Apr 22 17:55:07 PDT 2011


On Sat, Apr 23, 2011 at 1:31 AM, David Edmundson <david at davidedmundson.co.uk
> wrote:

> I'm trying to put full profile support into KDE Telepathy and have
> encountered a problem.
>
> I create a new account using a profile (say Facebook for example), I can
> show a perfect form, with the default values and such. However as soon as I
> access the account again it has no idea what profile to be using - and when
> I access account->profile() it's just a normal fake jabber one.
>
> This seems quite sensible because I never tell the account manager what
> profile I'm using anywhere. I would have expected an extra parameter to
> AccountManager::CreateAccount with QString profileName.
>
> Where do I tell an account what profile it is using?
>
> The only vaguely possible thing I can see is to set
> "com.nokia.Account.Interface.Compat.Profile" in the properties QVariantMap,
> is that the right approach? what am I meant to set it to?
>
> Thanks in advance
>
> Dave
>
> 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() ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20110423/5d5415d8/attachment.htm>


More information about the telepathy mailing list