4 * Created on: Sep 12, 2014
8 #ifndef XGUI_QTEVENTS_H_
9 #define XGUI_QTEVENTS_H_
13 #include <ModelAPI_ResultPart.h>
14 #include <Events_Message.h>
19 class XGUI_EXPORT PostponeMessageQtEvent : public QEvent
22 static QEvent::Type PostponeMessageQtEventType;
24 PostponeMessageQtEvent(const boost::shared_ptr<Events_Message>& theMessage)
25 : QEvent(PostponeMessageQtEventType),
29 static QEvent::Type type()
31 return PostponeMessageQtEventType;
34 boost::shared_ptr<Events_Message> postponedMessage();
37 boost::shared_ptr<Events_Message> myMessage;
40 #endif /* XGUI_QEVENTS_H_ */