On Wed, Oct 14, 2009 at 02:59:36PM +0400, Rudenko Eugene wrote:
> > You'd need something like
> >
> > d.beginHash();
> > d.putItem("name", "queryItems");
> > d.putItemCount("value", queryItems.size());
> > d.beginItem("exp");
> > d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> > >'*)").put(d.data).put(')')->queryItems()");
> > d.endItem();
> > d.putItem("type", NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> > >");
> > d.putItem("numchild", queryItems.size());
> > d.endHash();
> >
> > [Untested, the quotes in the long line are probably wrong]
> >
> Thank's for Idea, but it's not clear for me what result string is
> needed for this condtruction:
> d.put("(('"NS"QList<"NS"QPair<"NS"QString,"NS"QString>
> >'*)").put(d.data).put(')')->queryItems()");
The result should look like
(('QList<QPair<QString,QString> >'*)0x01234568)->queryItems()
(assuming that you don't have configured your Qt with -qtnamespace)
Andre'
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator