How to set QHash, QMultiHash, QMap and QMultiMap value directly ? For QList<int> I can do like this

Qt Code:
  1. QList<int>() << 1 << 2 << 3;
To copy to clipboard, switch view to plain text mode