defuze.me
Client
|
00001 /************************************************************************** 00002 ** defuze.me Epitech Innovative Project 00003 ** 00004 ** Copyright 2010-2011 00005 ** Athena Calmettes - Jocelyn De La Rosa - Francois Gaillard 00006 ** Adrien Jarthon - Alexandre Moore - Luc Peres - Arnaud Sellier 00007 ** 00008 ** All rights reserved. 00009 **************************************************************************/ 00010 00011 namespace Notification { 00012 class StatusWidget; 00013 } 00014 00015 #ifndef STATUSWIDGET_HPP 00016 #define STATUSWIDGET_HPP 00017 00018 #include "ui_statuswidget.h" 00019 #include "guicore.hpp" 00020 #include "status.hpp" 00021 #include "message.hpp" 00022 00023 namespace Notification 00024 { 00028 class StatusWidget : public Gui::ModuleWidget, private Ui::StatusWidget 00029 { 00030 Q_OBJECT 00031 friend class Status; 00032 00033 public: 00034 explicit StatusWidget(Status *plugin); 00035 00036 protected: 00037 void changeEvent(QEvent *e); 00038 void addMessage(Message*widget); 00039 00040 private: 00041 Status* plugin; 00042 }; 00043 } 00044 00045 #endif // STATUSWIDGET_HPP