#include <QtGui/qerrormessage.h> #ifndef QERRORMESSAGE_H #ifndef QT_NO_ERRORMESSAGE class QErrorMessage: public QDialog{ /* Some contents are skipped to improve readability */ public: static class QErrorMessage* qtHandler(); /* ... */ }; #endif // QT_NO_ERRORMESSAGE #endif // QERRORMESSAGE_H