#include <QtGui/qitemdelegate.h> #ifndef QITEMDELEGATE_H #ifndef QT_NO_ITEMVIEWS class QItemDelegate: public QAbstractItemDelegate{ /* Some contents are skipped to improve readability */ private: QItemDelegate(class QItemDelegate const &); /* ... */ }; #endif // QT_NO_ITEMVIEWS #endif // QITEMDELEGATE_H