[Interest] Is QEventPrivate a remnant?

Thiago Macieira thiago.macieira at intel.com
Thu Feb 11 02:21:28 CET 2016


On quinta-feira, 11 de fevereiro de 2016 02:48:11 PST Nye wrote:
> Hello,
> In qcoreevent.h one could see that a pointer to the forward
> declared QEventPrivate is declared as a member of QEvent, however I wasn't
> able to see that class defined anywhere. Is this a leftover from a previous
> version or something that was never implemented?

It was never implemented. We haven't had the need.

> As I'm implementing a few
> of my own events do I need to worry about this, or should I simply add the
> members directly to QEvent?

You cannot modify QEvent.

Do you mean your own class? Whether it's derived from QEvent or not is 
irrelevant to whether you can add members.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list