Em Sexta-feira 15 Outubro 2010, às 13:12:15, Patrick Ohly escreveu: > 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.
Please *always* use the full name of classes when declaring signals and slots.
Work to support compile-time connections exists, but it's only early research
at this point. And it requires C++0x (GCC 4.4 and up).
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Senior Product Manager - Nokia, Qt Development Frameworks
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ MeeGo-dev mailing list [email protected] http://lists.meego.com/listinfo/meego-dev
