#include <QtGui/qtablewidget.h>
#ifndef QTABLEWIDGET_H
#ifndef QT_NO_TABLEWIDGET
class QTableWidgetItem{
   /* Some contents are skipped to improve readability */
   public: enum ItemType{
      /* ... */
      UserType = 1000,
      /* ... */
   };
   /* ... */
};
#endif // QT_NO_TABLEWIDGET
#endif // QTABLEWIDGET_H