#include <QtCore/qlist.h>
#ifndef QLIST_H
template < typename T > class QList{
   /* Some contents are skipped to improve readability */
   private: struct Node{
      public: void* v;
#if defined(Q_CC_BOR)
#else
      public: inline T& t();
#endif
   };
   /* ... */
};
#endif // QLIST_H