I have a list of QGraphicsScene*:
QList<QGraphicsScene*>scenes;
Each element of the list would be a pointer of type QGraphicsScene*....
So scenes[i] return a QgraphicsScene* element????
From the documentation:
"On non-const lists, operator[]() returns a reference to the item".....so in my case, it will return a QGraphicsScene** element??
I want to pass this list of scenes, to an other myclass object:
Qt Code:
myclass::myclass(QList<QGraphicsScene*> s){}To copy to clipboard, switch view to plain text mode
...but the compiler gives me error if a write
myclass(scenes)........
Bookmarks