#include <QtGui/qlistwidget.h>
#ifndef QLISTWIDGET_H
#ifndef QT_NO_LISTWIDGET
class QListWidgetItem{
   /* Some contents are skipped to improve readability */
   public: enum ItemType{
      /* ... */
      UserType = 1000,
      /* ... */
   };
   /* ... */
};
#endif // QT_NO_LISTWIDGET
#endif // QLISTWIDGET_H