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