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