Hello and thanks for the prompt reply!
> 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.

I meant that I'm deriving from QEvent. When I derived from
QCoreApplication, I also did it for QCoreApplicationPrivate and passed my
private object instance trough the QCoreApplication(QCoreApplicationPrivate
&) constructor. So I was wondering if I'm missing something with the event,
although as it's was never implemented I believe I'm okay.

Thanks for the input!

On Thu, Feb 11, 2016 at 3:21 AM, Thiago Macieira <thiago.macie...@intel.com>
wrote:

> 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
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to