#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QModelIndex{ /* Some contents are skipped to improve readability */ public: inline QModelIndex(class QModelIndex const & other); /* ... */ }; #endif // QABSTRACTITEMMODEL_H