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