00001 #ifndef CUSTOMPRIORITY_H_ 00002 #define CUSTOMPRIORITY_H_ 00003 00004 #include <qdatetime.h> 00005 #include <qhbox.h> 00006 #include "libmyth/mythwidgets.h" 00007 #include "NuppelVideoPlayer.h" 00008 00009 #include <pthread.h> 00010 00011 class QLabel; 00012 class ProgramInfo; 00013 00014 class MPUBLIC CustomPriority : public MythDialog 00015 { 00016 Q_OBJECT 00017 public: 00018 00019 CustomPriority(MythMainWindow *parent, const char *name = 0, 00020 ProgramInfo *m_pginfo = NULL); 00021 ~CustomPriority(void); 00022 00023 signals: 00024 void dismissWindow(); 00025 00026 protected slots: 00027 void ruleChanged(void); 00028 void textChanged(void); 00029 void clauseChanged(void); 00030 void addClicked(void); 00031 void testClicked(void); 00032 void installClicked(void); 00033 void deleteClicked(void); 00034 void cancelClicked(void); 00035 void testSchedule(void); 00036 00037 private: 00038 bool checkSyntax(void); 00039 00040 int prevItem; 00041 00042 QString addString; 00043 00044 QStringList m_recpri; 00045 QStringList m_recdesc; 00046 00047 QStringList m_csql; 00048 00049 MythComboBox *m_rule; 00050 MythRemoteLineEdit *m_title; 00051 MythComboBox *m_clause; 00052 MythSpinBox *m_value; 00053 MythRemoteLineEdit *m_description; 00054 MythPushButton *m_addButton; 00055 MythPushButton *m_testButton; 00056 MythPushButton *m_installButton; 00057 MythPushButton *m_deleteButton; 00058 MythPushButton *m_cancelButton; 00059 }; 00060 00061 #endif
1.5.5