#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QAbstractItemModel: public QObject{ /* Some contents are skipped to improve readability */ protected: void beginInsertRows(class QModelIndex const & parent, int first, int last); /* ... */ }; #endif // QABSTRACTITEMMODEL_H