#include <QtGui/qitemselectionmodel.h> #ifndef QITEMSELECTIONMODEL_H #ifndef QT_NO_ITEMVIEWS class QItemSelectionModel: public QObject{ /* Some contents are skipped to improve readability */ public: enum SelectionFlag{ /* ... */ ClearAndSelect = 3, /* ... */ }; /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QITEMSELECTIONMODEL_H