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