00001 #ifndef MANUALSCHEDULE_H_ 00002 #define MANUALSCHEDULE_H_ 00003 00004 // ANSI C 00005 #include <stdint.h> // for [u]int[32,64]_t 00006 00007 #include <QDateTime> 00008 #include <QStringList> 00009 00010 #include "mythscreentype.h" 00011 00012 class QTimer; 00013 class ProgramInfo; 00014 00015 class MythUIButton; 00016 class MythUIButtonList; 00017 class MythUISpinBox; 00018 class MythUITextEdit; 00019 00020 class ManualSchedule : public MythScreenType 00021 { 00022 Q_OBJECT 00023 public: 00024 00025 ManualSchedule(MythScreenStack *parent); 00026 ~ManualSchedule(void) {}; 00027 00028 bool Create(void); 00029 00030 protected slots: 00031 void dateChanged(void); 00032 void hourRollover(void); 00033 void minuteRollover(void); 00034 void recordClicked(void); 00035 void scheduleCreated(int); 00036 00037 private: 00038 void connectSignals(); 00039 void disconnectSignals(); 00040 00041 int m_daysahead; 00042 00043 QList<uint32_t> m_chanids; 00044 00045 MythUITextEdit *m_titleEdit; 00046 00047 MythUIButtonList *m_channelList; 00048 MythUIButtonList *m_startdateList; 00049 00050 MythUISpinBox *m_starthourSpin; 00051 MythUISpinBox *m_startminuteSpin; 00052 MythUISpinBox *m_durationSpin; 00053 00054 MythUIButton *m_recordButton; 00055 MythUIButton *m_cancelButton; 00056 00057 QDateTime m_nowDateTime; 00058 QDateTime m_startDateTime; 00059 QString m_categoryString; 00060 QString m_startString; 00061 QString m_chanidString; 00062 00063 }; 00064 00065 #endif
1.6.3