[SOLVED]QList holding another QList
I need a QList to held another QList. It is like
Is there any way to do it?
Thanks in advance,
Yes, you can use QList<QList<yourItem> >
Just don't forget the space between the ">" to make a distinction with the >> operator.
Thank you. It never cross my mind that put a space between the operators.
Nope. it's just that there is an operator >>.
Like for example @qDebug() << myObject @
To make a distinction with this and our case, ( for the moc compilation ), a space helps to avoid confusion.