00001 #ifndef SEARCHEDITOR_H 00002 #define SEARCHEDITOR_H 00003 00004 // Qt headers 00005 #include <QString> 00006 #include <QNetworkAccessManager> 00007 #include <QNetworkReply> 00008 00009 // MythTV headers 00010 #include <mythscreentype.h> 00011 #include <netgrabbermanager.h> 00012 #include <mythscreentype.h> 00013 #include <mythprogressdialog.h> 00014 00015 class MythUIButtonList; 00016 00020 class SearchEditor : public MythScreenType 00021 { 00022 Q_OBJECT 00023 00024 public: 00025 SearchEditor(MythScreenStack *parent, 00026 const QString name = "SearchEditor"); 00027 ~SearchEditor(); 00028 00029 bool Create(void); 00030 bool keyPressEvent(QKeyEvent*); 00031 00032 private: 00033 void loadData(void); 00034 void fillGrabberButtonList(); 00035 void parsedData(); 00036 00037 GrabberScript::scriptList m_grabberList; 00038 MythUIButtonList *m_grabbers; 00039 MythUIBusyDialog *m_busyPopup; 00040 MythScreenStack *m_popupStack; 00041 00042 QNetworkAccessManager *m_manager; 00043 QNetworkReply *m_reply; 00044 bool m_changed; 00045 00046 protected: 00047 void createBusyDialog(QString title); 00048 00049 signals: 00050 void itemsChanged(void); 00051 00052 public slots: 00053 void toggleItem(MythUIButtonListItem *item); 00054 void slotLoadedData(void); 00055 }; 00056 00057 #endif /* SEARCHEDITOR_H */
1.6.3