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