#include <mythnewseditor.h>
Public Member Functions | |
| MythNewsEditor (NewsSite *site, bool edit, MythScreenStack *parent, const QString &name="MythNewsEditor") | |
| Creates a new MythNewsEditor Screen. | |
| ~MythNewsEditor () | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *) |
| Key event handler. | |
Private Slots | |
| void | Save (void) |
Private Attributes | |
| QMutex | m_lock |
| NewsSite * | m_site |
| QString | m_siteName |
| bool | m_editing |
| MythUIText * | m_titleText |
| MythUIText * | m_nameLabelText |
| MythUIText * | m_urlLabelText |
| MythUIText * | m_iconLabelText |
| MythUIText * | m_podcastLabelText |
| MythUITextEdit * | m_nameEdit |
| MythUITextEdit * | m_urlEdit |
| MythUITextEdit * | m_iconEdit |
| MythUIButton * | m_okButton |
| MythUIButton * | m_cancelButton |
| MythUICheckBox * | m_podcastCheck |
Definition at line 20 of file mythnewseditor.h.
| MythNewsEditor::MythNewsEditor | ( | NewsSite * | site, | |
| bool | edit, | |||
| MythScreenStack * | parent, | |||
| const QString & | name = "MythNewsEditor" | |||
| ) |
Creates a new MythNewsEditor Screen.
| parent | Pointer to the screen stack | |
| name | The name of the window |
Definition at line 26 of file mythnewseditor.cpp.
| MythNewsEditor::~MythNewsEditor | ( | ) |
Definition at line 44 of file mythnewseditor.cpp.
| bool MythNewsEditor::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 49 of file mythnewseditor.cpp.
Referenced by MythNews::ShowEditDialog().
| bool MythNewsEditor::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 115 of file mythnewseditor.cpp.
| void MythNewsEditor::Save | ( | void | ) | [private, slot] |
Definition at line 130 of file mythnewseditor.cpp.
Referenced by Create().
QMutex MythNewsEditor::m_lock [mutable, private] |
Definition at line 33 of file mythnewseditor.h.
Referenced by Create(), Save(), and ~MythNewsEditor().
NewsSite* MythNewsEditor::m_site [private] |
Definition at line 34 of file mythnewseditor.h.
Referenced by Create().
QString MythNewsEditor::m_siteName [private] |
Definition at line 35 of file mythnewseditor.h.
Referenced by Save().
bool MythNewsEditor::m_editing [private] |
Definition at line 36 of file mythnewseditor.h.
MythUIText* MythNewsEditor::m_titleText [private] |
Definition at line 38 of file mythnewseditor.h.
Referenced by Create().
MythUIText* MythNewsEditor::m_nameLabelText [private] |
Definition at line 39 of file mythnewseditor.h.
Referenced by Create().
MythUIText* MythNewsEditor::m_urlLabelText [private] |
Definition at line 40 of file mythnewseditor.h.
Referenced by Create().
MythUIText* MythNewsEditor::m_iconLabelText [private] |
Definition at line 41 of file mythnewseditor.h.
Referenced by Create().
MythUIText* MythNewsEditor::m_podcastLabelText [private] |
Definition at line 42 of file mythnewseditor.h.
Referenced by Create().
MythUITextEdit* MythNewsEditor::m_nameEdit [private] |
Definition at line 44 of file mythnewseditor.h.
MythUITextEdit* MythNewsEditor::m_urlEdit [private] |
Definition at line 45 of file mythnewseditor.h.
MythUITextEdit* MythNewsEditor::m_iconEdit [private] |
Definition at line 46 of file mythnewseditor.h.
MythUIButton* MythNewsEditor::m_okButton [private] |
Definition at line 48 of file mythnewseditor.h.
Referenced by Create().
MythUIButton* MythNewsEditor::m_cancelButton [private] |
Definition at line 49 of file mythnewseditor.h.
Referenced by Create().
MythUICheckBox* MythNewsEditor::m_podcastCheck [private] |
Definition at line 51 of file mythnewseditor.h.
1.6.3