defuze.me
Client
|
00001 #ifndef EVENTPLAYLISTITEM_HPP 00002 #define EVENTPLAYLISTITEM_HPP 00003 00004 #include <QObject> 00005 #include <QListWidgetItem> 00006 00007 #include "scheduler.hpp" 00008 #include "eventplaylist.hpp" 00009 00010 namespace Scheduler 00011 { 00012 00013 class EventPlaylist; 00014 00015 class EventPlaylistItem : public QObject, public QListWidgetItem 00016 { 00017 Q_OBJECT 00018 public: 00019 explicit EventPlaylistItem(EventPlaylist *parent, int id, QString name); 00020 00021 int id; 00022 QString name; 00023 00024 private: 00025 00026 EventPlaylist *parent; 00027 00028 signals: 00029 00030 public slots: 00031 00032 }; 00033 00034 } 00035 00036 #endif // EVENTPLAYLISTITEM_HPP