#include <QtGui/qtextbrowser.h> #ifndef QTEXTBROWSER_H #ifndef QT_NO_TEXTBROWSER class QTextBrowser: public QTextEdit{ /* Some contents are skipped to improve readability */ protected: virtual void focusOutEvent(struct QFocusEvent* ev); /* ... */ }; #endif // QT_NO_TEXTBROWSER #endif // QTEXTBROWSER_H