#include <QtCore/qlist.h>
#ifndef QLIST_H
template < typename T > class QList{
   /* Some contents are skipped to improve readability */
   public: typename QList::iterator erase(typename QList::iterator afirst, typename QList::iterator alast);
   /* ... */
};
#endif // QLIST_H