I am new Map in QT and have a 3D map like this

Qt Code:
  1. QMap<const char*, const char*> submap;
  2. QMap<int, submap> map3D;
To copy to clipboard, switch view to plain text mode 

Now i inserted valued in it like this, the max of value of int is 5 but for each int value there is 50 key and value for submap.

1) How can i insert value in map3D. I am doing like this
Qt Code:
  1. submapD.insert(TempA,TempB);
  2. map3D.insert(count,submap);
To copy to clipboard, switch view to plain text mode 

count value will be incremented after TempA and TempB values will be more than 50 values.
Can anyone tell how i can read it back from map3D?
Thanks