00001 #ifndef MANUALSCHEDULE_H_ 00002 #define MANUALSCHEDULE_H_ 00003 00004 #include <qdatetime.h> 00005 #include <qhbox.h> 00006 #include "libmyth/mythwidgets.h" 00007 #include "tv.h" 00008 #include "NuppelVideoPlayer.h" 00009 #include "yuv2rgb.h" 00010 00011 #include <pthread.h> 00012 00013 class QListViewItem; 00014 class QLabel; 00015 class QProgressBar; 00016 class NuppelVideoPlayer; 00017 class RingBuffer; 00018 class QTimer; 00019 class ProgramInfo; 00020 00021 class ManualSchedule : public MythDialog 00022 { 00023 Q_OBJECT 00024 public: 00025 00026 ManualSchedule(MythMainWindow *parent, const char *name = 0); 00027 ~ManualSchedule(void); 00028 00029 signals: 00030 void dismissWindow(); 00031 00032 protected slots: 00033 void dateChanged(void); 00034 void hourChanged(void); 00035 void minuteChanged(void); 00036 void recordClicked(void); 00037 void cancelClicked(void); 00038 00039 private: 00040 int daysahead; 00041 int prev_weekday; 00042 00043 QHBox *m_boxframe; 00044 QLabel *m_pixlabel; 00045 MythRemoteLineEdit *m_title; 00046 MythComboBox *m_channel; 00047 QStringList m_chanids; 00048 MythComboBox *m_duration; 00049 MythPushButton *m_recordButton; 00050 MythPushButton *m_cancelButton; 00051 MythComboBox *m_startdate; 00052 MythComboBox *m_starthour; 00053 MythComboBox *m_startminute; 00054 00055 MythRemoteLineEdit *m_descString; 00056 00057 QDateTime m_nowDateTime; 00058 QDateTime m_startDateTime; 00059 QString m_categoryString; 00060 QString m_startString; 00061 QString m_chanidString; 00062 00063 QString dateformat; 00064 QString timeformat; 00065 QString shortdateformat; 00066 }; 00067 00068 #endif
1.5.5