#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QModelIndex{ /* Some contents are skipped to improve readability */ private: int c; /* ... */ }; #endif // QABSTRACTITEMMODEL_H