#include <QtGui/qlabel.h> #ifndef QLABEL_H class QLabel: public QFrame{ /* Some contents are skipped to improve readability */ protected: virtual void mouseReleaseEvent(struct QMouseEvent* ev); /* ... */ }; #endif // QLABEL_H