<br><br><div class="gmail_quote">On Sat, Apr 23, 2011 at 1:31 AM, David Edmundson <span dir="ltr">&lt;<a href="mailto:david@davidedmundson.co.uk">david@davidedmundson.co.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m trying to put full profile support into KDE Telepathy and have encountered a problem.<div><br></div><div>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-&gt;profile() it&#39;s just a normal fake jabber one.</div>

<div><br></div><div>This seems quite sensible because I never tell the account manager what profile I&#39;m using anywhere. I would have expected an extra parameter to AccountManager::CreateAccount with QString profileName. </div>

<div><br></div><div>Where do I tell an account what profile it is using?</div><div><br></div><div>The only vaguely possible thing I can see is to set &quot;com.nokia.Account.Interface.Compat.Profile&quot; in the properties QVariantMap, is that the right approach? what am I meant to set it to?</div>

<div><br></div><div>Thanks in advance</div><div><br></div><div>Dave</div><div><br></div></blockquote><div>Managed to answer my own question:</div><div> setServiceName() on the newly created account.</div><div><br></div><div>
Can I still request/suggest that serviceName becomes an optional parameter to  AccountManager::CreateAccount() ?</div><div><br></div><div><br></div></div><br>