title: C++ Inheritance - QList
body: <p>I have a class, Car, that inherits a QList&lt; int >. I am wondering how would I use the QList I just inherited? </p>
  
  <p>From my amateur understanding of how to use inheritance, if Car inherits Vehicle, I would access a method of Vehicle by going Vehicle::getWheels(). How would this work if I inherit QList though?</p>