#include <QtCore/qabstractitemmodel.h> #ifndef QABSTRACTITEMMODEL_H class QPersistentModelIndex{ /* Some contents are skipped to improve readability */ private: struct QPersistentModelIndexData* d; /* ... */ }; #endif // QABSTRACTITEMMODEL_H