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