#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, int aid) const /* ... */ }; #endif // QABSTRACTITEMMODEL_H