#include <QtGui/qlabel.h> #ifndef QLABEL_H class QLabel: public QFrame{ /* Some contents are skipped to improve readability */ public: virtual int heightForWidth(int) const /* ... */ }; #endif // QLABEL_H