#include <QtCore/qhash.h> #ifndef QHASH_H template < typename Key, typename T > class QHash{ /* Some contents are skipped to improve readability */ public: class const_iterator{ /* ... */ public: typedef T& reference; /* ... */ }; /* ... */ }; #endif // QHASH_H