#include <QtCore/qmap.h> #ifndef QMAP_H #if !defined(QT_NO_DATASTREAM) template < typename Key, typename T > class QMap{ /* Some contents are skipped to improve readability */ #endif public: class QList < T > keys() const /* ... */ }; #endif // QMAP_H