#include <QtGui/qevent.h> #ifndef QEVENT_H class QUpdateLaterEvent: public QEvent{ /* Some contents are skipped to improve readability */ public: QUpdateLaterEvent(class QRegion const & paintRegion); /* ... */ }; #endif // QEVENT_H