#include <QtGui/qlistwidget.h> #ifndef QLISTWIDGET_H #ifndef QT_NO_LISTWIDGET class QListWidgetItem{ /* Some contents are skipped to improve readability */ public: inline void setText(class QString const & atext); /* ... */ }; #endif // QT_NO_LISTWIDGET #endif // QLISTWIDGET_H