#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QPersistentModelIndex{ /* Some contents are skipped to improve readability */ public: QPersistentModelIndex(class QModelIndex const & index); /* ... */ }; #endif // QABSTRACTITEMMODEL_H