#include <QtCore/qhash.h> #ifndef QHASH_H template < typename Key, typename T > class QHash{ /* Some contents are skipped to improve readability */ public: typename QHash::iterator erase(class QHash::iterator it); /* ... */ }; #endif // QHASH_H