#include <QtGui/qwidget.h> #ifndef QWIDGET_H class QWidget: public QObject, public QPaintDevice{ /* Some contents are skipped to improve readability */ public: static inline class QString tr(char const * s, char const * c, int n); /* ... */ }; #endif // QWIDGET_H