#include <QtGui/qlistwidget.h> #ifndef QLISTWIDGET_H #ifndef QT_NO_LISTWIDGET class QListWidgetItem{ /* Some contents are skipped to improve readability */ #ifndef QT_NO_DATASTREAM public: virtual void read(class QDataStream& in); #endif /* ... */ }; #endif // QT_NO_LISTWIDGET #endif // QLISTWIDGET_H