[Development] websockets (was RE: Qt 5.3 Feature freeze is coming quite soon...)

Olivier Goffart olivier at woboq.com
Sun Jan 26 09:53:01 CET 2014


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



More information about the Development mailing list