#include <QtGui/qlistwidget.h>
#ifndef QLISTWIDGET_H
#ifndef QT_NO_LISTWIDGET
class QListWidget: public QListView{
   /* Some contents are skipped to improve readability */
   protected: virtual bool event(struct QEvent* e);
   /* ... */
};
#endif // QT_NO_LISTWIDGET
#endif // QLISTWIDGET_H