#include <QtCore/qpair.h> #ifndef QPAIR_H template < typename T1, typename T2 > struct QPair{ /* Some contents are skipped to improve readability */ public: T2 second; /* ... */ }; #endif // QPAIR_H