00001 #ifndef INFODIALOG_H_ 00002 #define INFODIALOG_H_ 00003 00004 #include "mythwidgets.h" 00005 00006 class QLabel; 00007 class QCheckBox; 00008 class QListView; 00009 class QListViewItem; 00010 class ProgramInfo; 00011 class QWidget; 00012 00013 class InfoDialog : public MythDialog 00014 { 00015 Q_OBJECT 00016 public: 00017 InfoDialog(ProgramInfo *pginfo, MythMainWindow *parent, 00018 const char *name = 0); 00019 ~InfoDialog(); 00020 00021 protected slots: 00022 void selected(QListViewItem *); 00023 void advancedEdit(QListViewItem *); 00024 void numberPress(QListViewItem *, int); 00025 00026 protected: 00027 bool eventFilter(QObject *o, QEvent *e); 00028 00029 private: 00030 QLabel *getDateLabel(ProgramInfo *pginfo); 00031 00032 int programtype; 00033 RecordingType recordstatus; 00034 ProgramInfo *myinfo; 00035 00036 MythListView *lview; 00037 }; 00038 00039 #endif
1.5.5