[Qt-interest] problem in QWidget type cast
Andre Haupt
andre at bitwigglers.org
Tue Aug 11 08:20:40 CEST 2009
On Tue, Aug 11, 2009 at 04:37:12PM +0530, Chandru... wrote:
> hi friends,
>
> i got a problem in QList
> as i subject all my object in a Widget class to a QList by
>
> "*QList wlist;
> wlist = embed->findChildren<QWidget *>()*;"
btw, i do not think that the above compiles.
how about:
QList<QWidget *> wlist;
wlist = embed->findChildren<QWidget*>();
regards,
Andre
More information about the Qt-interest-old
mailing list