[Interest] How to access QLineEditPrivate* in QLineEdit'ssubclass?
igor.mironchik at gmail.com
igor.mironchik at gmail.com
Tue Mar 11 20:44:52 CET 2014
I don't want to use private headers.
But without them I can't modify QLineEdit as I want.
Probably I will deal without private headers, but who knows...
And thanks for your hint.
-----Original Message-----
From: Giuseppe D'Angelo
Sent: Tuesday, March 11, 2014 8:35 PM
To: interest at qt-project.org
Subject: Re: [Interest] How to access QLineEditPrivate* in
QLineEdit'ssubclass?
Il 11/03/2014 20:23, igor.mironchik at gmail.com ha scritto:
> Is it possible to acces QLineEditPrivate* from QLineEdit’s subclass???
> Help!!!
Why are you willing to go into private headers (which offer no
guarantees of compatibility at all) and not willing to submit a patch
that adds the missing constructor?
Anyhow: you can try
> static_cast<QLineEditPrivate *>(QWidgetPrivate::get(this));
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list