On Saturday 25 January 2014 23:14:43 Kurt Pattyn wrote: > > When websockets becomes part of a Qt module you can consider using > > QObjectPrivate which makes the d pointer implementation slightly cleaner > > and removes the need for duplicate d pointers (one from qobject one for > > the class's own implementation. > I tried to use QObjectPrivate, but then I cannot connect to slots within the > QObjectPrivate derived class. Statements like 'connect(object, signal, > THIS, slot)’ fail because THIS is not derived from QObject. Have you an > idea how to solve this?
Use QObjectPrivate::connect -- Olivier Woboq - Qt services and support - http://woboq.com - http://code.woboq.org _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
