#include <QtGui/qabstractitemdelegate.h> #ifndef QABSTRACTITEMDELEGATE_H #ifndef QT_NO_ITEMVIEWS class QAbstractItemDelegate: public QObject{ /* Some contents are skipped to improve readability */ public: virtual ~QAbstractItemDelegate(); /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QABSTRACTITEMDELEGATE_H