[Qt-interest] problem in QWidget type cast
Chandru...
sekarwagmare at gmail.com
Tue Aug 11 14:28:56 CEST 2009
thanks ..
actually i just want want to show u that it is wlist is Qlist ..
its my mistake to post it normally ... i already define it as
QList <QWidget *> wlist;
On Tue, Aug 11, 2009 at 11:50 AM, Andre Haupt <andre at bitwigglers.org> wrote:
> 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
>
--
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090811/fd7d8944/attachment.html
More information about the Qt-interest-old
mailing list