[Qt-interest] need a help in definition of items
Keshava Krishna
keshavkrishna88 at gmail.com
Tue Jul 21 15:00:27 CEST 2009
can't you use arrays?
QGraphicsItem item[28];
On Tue, Jul 21, 2009 at 6:21 PM, Chandru... <sekarwagmare at gmail.com> wrote:
> hi friends,
>
> please help me ... i want to define a QGraphicsItem 28 types of same
> type(class) .. how can i do that
> currently i am adding 28 lines as
>
> QGraphicsItem *item1;
> QGraphicsItem *item2;
> QGraphicsItem *item3;
> ...
> ...
> ..
> QGraphicsItem *item28;
>
> is there any other way to truncate it to short c++ coding ... i am not
> strong in C++ coding
> please help me to solve this problem
> --
> WAGMARE
>
>
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
--
Regards,
Keshava.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090721/a3ec3aa8/attachment.html
More information about the Qt-interest-old
mailing list