#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,
      EditNextItem = 1,
      EditPreviousItem = 2,
      SubmitModelCache = 3,
      RevertModelCache = 4,
   };
   /* ... */
};
#endif // QT_NO_ITEMVIEWS
#endif // QABSTRACTITEMDELEGATE_H