#include <QtGui/qtreewidget.h> #ifndef QTREEWIDGET_H #ifndef QT_NO_TREEWIDGET class QTreeWidget: public QTreeView{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c, int n); /* ... */ }; #endif // QT_NO_TREEWIDGET #endif // QTREEWIDGET_H