title: 2D matrix of QStrings
body: <p>I want to make an application with which you can reserve ticket for your travel. In fact, I'm designing the system for an airline. When I want to create a database (a 2D matrix that saves the number of seats in flights), it gives me errors.</p>
  
  <p>The number of flights set in different place and the number is changing this is my code:</p>
  
  <pre><code>QString** matrix = new QString*[numberofFlights];
  for (int i = 0; i &lt; numberofFlight; i++)
  {
    matrix[i] = new QString[numberofSeats];
  }
  </code></pre>
  
  <p>What class in Qt should i use?</p>