#include <QtCore/qlist.h> #ifndef QLIST_H template < typename T > class QList{ /* Some contents are skipped to improve readability */ public: class iterator{ /* ... */ #ifndef QT_STRICT_ITERATORS public: inline bool operator <(class QList::const_iterator const & other) const #endif /* ... */ }; /* ... */ }; #endif // QLIST_H