#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QAbstractItemModel: public QObject{ /* Some contents are skipped to improve readability */ protected: inline class QModelIndex createIndex(int arow, int acolumn, quint32 aid) const /* ... */ }; #endif // QABSTRACTITEMMODEL_H