Hey,

I created a project containing a QMap with QPushButtons in it:

QMap<int, QPushButton*> *mapButtons;
mapButtons = new QMap<int, QPushButton*> ();

now I created a button and inserted it:

QPushButton button ("Hello");
mapButtons->insert(10, &button);

But do I get the Button out of the map again?
I tried:

QPushButton *button1 = mapButtons->value(10);

I had lots of attempt that failed all completely.
I look forward to your comment