#include <QtCore/qlist.h> #ifndef QLIST_H template < typename T > class QList{ /* Some contents are skipped to improve readability */ private: union /*anonymous*/{ struct QListData p; struct QListData::Data* d; }; /* ... */ }; #endif // QLIST_H