On Fri, 2010-10-15 at 11:40 +0100, Alberto Mardegan wrote:
> > The connect() also looks right:
> >
> > connect(m_service, SIGNAL(identities(const
> > QList<SignOn::IdentityInfo>& )),
> > this, SLOT(identities(const QList<SignOn::IdentityInfo>& )));
>
> Note the namespace, it has been added recently.
> Looks like you are using the headers from a more recent version than the
> binaries.
Yeah, that's it. The example code was recent (with namespace), the
development files and libs were old. Sorry, I forgot that Qt basically
deals with strings in its signal/slot mechanism.
For those who run into this: add a "using namespace SignOn" to your code
and declare slots with just "QList<IdentityInfo>", otherwise there's
another error:
QObject::connect: Incompatible sender/receiver arguments
SignOn::AuthService::identities(QList<IdentityInfo>) -->
SignOn::SignonClient::identities(QList<SignOn::IdentityInfo>)
--
Best Regards, Patrick Ohly
The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev