#include <QtCore/qlist.h> #ifndef QLIST_H struct QListData{ /* Some contents are skipped to improve readability */ public: inline int size() const /* ... */ }; #endif // QLIST_H