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