[Telepathy] Profiles in TpQt4

David Edmundson david at davidedmundson.co.uk
Fri Apr 22 17:31:46 PDT 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20110423/4d6a78eb/attachment.html>


More information about the telepathy mailing list