#include <QtGui/qabstractitemdelegate.h> #ifndef QABSTRACTITEMDELEGATE_H #ifndef QT_NO_ITEMVIEWS class QAbstractItemDelegate: public QObject{ /* Some contents are skipped to improve readability */ public: enum EndEditHint{ /* ... */ NoHint = 0, /* ... */ }; /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QABSTRACTITEMDELEGATE_H