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