Site name, URL and icon edit screen. More...
#include <rsseditor.h>
Signals | |
| void | saving (void) |
Public Member Functions | |
| RSSEditPopup (const QString &url, bool edit, MythScreenStack *parent, const QString &name="RSSEditPopup") | |
| Creates a new RSS Edit Popup. | |
| ~RSSEditPopup () | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *) |
| Key event handler. | |
Private Slots | |
| void | slotCheckRedirect (QNetworkReply *reply) |
| void | parseAndSave (void) |
| void | slotSave (QNetworkReply *reply) |
| void | doFileBrowser (void) |
| void | SelectImagePopup (const QString &prefix, QObject &inst, const QString &returnEvent) |
| void | customEvent (QEvent *levent) |
Private Member Functions | |
| QUrl | redirectUrl (const QUrl &possibleRedirectUrl, const QUrl &oldRedirectUrl) const |
Private Attributes | |
| RSSSite * | m_site |
| QString | m_urlText |
| bool | m_editing |
| MythUIImage * | m_thumbImage |
| MythUIButton * | m_thumbButton |
| MythUITextEdit * | m_urlEdit |
| MythUITextEdit * | m_titleEdit |
| MythUITextEdit * | m_descEdit |
| MythUITextEdit * | m_authorEdit |
| MythUIButton * | m_okButton |
| MythUIButton * | m_cancelButton |
| MythUICheckBox * | m_download |
| QNetworkAccessManager * | m_manager |
| QNetworkReply * | m_reply |
Site name, URL and icon edit screen.
Definition at line 25 of file rsseditor.h.
| RSSEditPopup::RSSEditPopup | ( | const QString & | url, | |
| bool | edit, | |||
| MythScreenStack * | parent, | |||
| const QString & | name = "RSSEditPopup" | |||
| ) |
Creates a new RSS Edit Popup.
| parent | Pointer to the screen stack | |
| name | The name of the window |
Definition at line 50 of file rsseditor.cpp.
| RSSEditPopup::~RSSEditPopup | ( | ) |
Definition at line 65 of file rsseditor.cpp.
| bool RSSEditPopup::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 75 of file rsseditor.cpp.
Referenced by RSSEditor::slotEditSite(), and RSSEditor::slotNewSite().
| bool RSSEditPopup::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 134 of file rsseditor.cpp.
| QUrl RSSEditPopup::redirectUrl | ( | const QUrl & | possibleRedirectUrl, | |
| const QUrl & | oldRedirectUrl | |||
| ) | const [private] |
Definition at line 184 of file rsseditor.cpp.
Referenced by slotCheckRedirect().
| void RSSEditPopup::saving | ( | void | ) | [signal] |
Referenced by parseAndSave(), and slotSave().
| void RSSEditPopup::slotCheckRedirect | ( | QNetworkReply * | reply | ) | [private, slot] |
Definition at line 193 of file rsseditor.cpp.
Referenced by parseAndSave().
| void RSSEditPopup::parseAndSave | ( | void | ) | [private, slot] |
Definition at line 149 of file rsseditor.cpp.
Referenced by Create().
| void RSSEditPopup::slotSave | ( | QNetworkReply * | reply | ) | [private, slot] |
Definition at line 214 of file rsseditor.cpp.
Referenced by slotCheckRedirect().
| void RSSEditPopup::doFileBrowser | ( | void | ) | [private, slot] |
Definition at line 313 of file rsseditor.cpp.
Referenced by Create().
| void RSSEditPopup::SelectImagePopup | ( | const QString & | prefix, | |
| QObject & | inst, | |||
| const QString & | returnEvent | |||
| ) | [private, slot] |
Definition at line 318 of file rsseditor.cpp.
Referenced by doFileBrowser().
| void RSSEditPopup::customEvent | ( | QEvent * | levent | ) | [private, virtual, slot] |
Reimplemented from MythUIType.
Definition at line 335 of file rsseditor.cpp.
RSSSite* RSSEditPopup::m_site [private] |
Definition at line 41 of file rsseditor.h.
Referenced by Create().
QString RSSEditPopup::m_urlText [private] |
Definition at line 42 of file rsseditor.h.
Referenced by Create(), and parseAndSave().
bool RSSEditPopup::m_editing [private] |
Definition at line 43 of file rsseditor.h.
Referenced by Create(), and parseAndSave().
MythUIImage* RSSEditPopup::m_thumbImage [private] |
Definition at line 45 of file rsseditor.h.
Referenced by Create(), customEvent(), parseAndSave(), and slotSave().
MythUIButton* RSSEditPopup::m_thumbButton [private] |
Definition at line 46 of file rsseditor.h.
Referenced by Create().
MythUITextEdit* RSSEditPopup::m_urlEdit [private] |
Definition at line 47 of file rsseditor.h.
Referenced by Create(), parseAndSave(), slotCheckRedirect(), and slotSave().
MythUITextEdit* RSSEditPopup::m_titleEdit [private] |
Definition at line 48 of file rsseditor.h.
Referenced by Create(), parseAndSave(), and slotSave().
MythUITextEdit* RSSEditPopup::m_descEdit [private] |
Definition at line 49 of file rsseditor.h.
Referenced by Create(), parseAndSave(), and slotSave().
MythUITextEdit* RSSEditPopup::m_authorEdit [private] |
Definition at line 50 of file rsseditor.h.
Referenced by Create(), parseAndSave(), and slotSave().
MythUIButton* RSSEditPopup::m_okButton [private] |
Definition at line 52 of file rsseditor.h.
Referenced by Create().
MythUIButton* RSSEditPopup::m_cancelButton [private] |
Definition at line 53 of file rsseditor.h.
Referenced by Create().
MythUICheckBox* RSSEditPopup::m_download [private] |
Definition at line 55 of file rsseditor.h.
Referenced by Create(), parseAndSave(), and slotSave().
QNetworkAccessManager* RSSEditPopup::m_manager [private] |
Definition at line 57 of file rsseditor.h.
Referenced by parseAndSave(), slotCheckRedirect(), and ~RSSEditPopup().
QNetworkReply* RSSEditPopup::m_reply [private] |
Definition at line 58 of file rsseditor.h.
Referenced by parseAndSave().
1.6.3