RSSEditPopup Class Reference

Site name, URL and icon edit screen. More...

#include <rsseditor.h>

Inheritance diagram for RSSEditPopup:
MythScreenType MythUIType XMLParseBase

List of all members.

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

RSSSitem_site
QString m_urlText
bool m_editing
MythUIImagem_thumbImage
MythUIButtonm_thumbButton
MythUITextEditm_urlEdit
MythUITextEditm_titleEdit
MythUITextEditm_descEdit
MythUITextEditm_authorEdit
MythUIButtonm_okButton
MythUIButtonm_cancelButton
MythUICheckBoxm_download
QNetworkAccessManager * m_manager
QNetworkReply * m_reply

Detailed Description

Site name, URL and icon edit screen.

Definition at line 25 of file rsseditor.h.


Constructor & Destructor Documentation

RSSEditPopup::RSSEditPopup ( const QString &  url,
bool  edit,
MythScreenStack parent,
const QString &  name = "RSSEditPopup" 
)

Creates a new RSS Edit Popup.

Parameters:
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.


Member Function Documentation

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.

Parameters:
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.


Member Data Documentation

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().

Definition at line 43 of file rsseditor.h.

Referenced by Create(), and parseAndSave().

Definition at line 45 of file rsseditor.h.

Referenced by Create(), customEvent(), parseAndSave(), and slotSave().

Definition at line 46 of file rsseditor.h.

Referenced by Create().

Definition at line 47 of file rsseditor.h.

Referenced by Create(), parseAndSave(), slotCheckRedirect(), and slotSave().

Definition at line 48 of file rsseditor.h.

Referenced by Create(), parseAndSave(), and slotSave().

Definition at line 49 of file rsseditor.h.

Referenced by Create(), parseAndSave(), and slotSave().

Definition at line 50 of file rsseditor.h.

Referenced by Create(), parseAndSave(), and slotSave().

Definition at line 52 of file rsseditor.h.

Referenced by Create().

Definition at line 53 of file rsseditor.h.

Referenced by Create().

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon May 28 06:42:23 2012 for MythTV by  doxygen 1.6.3