00001 #ifndef NOTIFICATIONEVENT_H 00002 #define NOTIFICATIONEVENT_H 00003 00004 #include <QtCore/QEvent> 00005 00006 #include <BALL/VIEW/KERNEL/message.h> 00007 00008 namespace BALL 00009 { 00010 namespace VIEW 00011 { 00012 class NotificationEvent : public QEvent 00013 { 00014 public: 00015 NotificationEvent(EventsIDs type, Message* message); 00016 00017 Message* getMessage() { return message_; } 00018 private: 00019 Message* message_; 00020 }; 00021 } 00022 } 00023 00024 #endif //NOTIFICATIONEVENT_H