#include <QtGui/qframe.h> #ifndef QFRAME_H class QFrame: public QWidget{ /* Some contents are skipped to improve readability */ protected: virtual bool event(struct QEvent* e); /* ... */ }; #endif // QFRAME_H