Il 16/03/2016 15:24, Nikos Chantziaras ha scritto:
I can connect to Foo::bar either way. If I don't intend to ever use the
old-style connect syntax, is there a reason to have "public slots:" anymore?

It's still needed if you want to expose those methods to QML / scripting, use QMetaObject::invokeMethod, and possibly some other cases.

Cheers,
--
Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts

Attachment: smime.p7s
Description: Firma crittografica S/MIME

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to