|
MythTV
0.26-pre
|
Site category, name and URL edit screen. More...
#include <bookmarkeditor.h>
Public Member Functions | |
| BookmarkEditor (Bookmark *site, bool edit, MythScreenStack *parent, const char *name) | |
| Creates a new BookmarkEditor Screen. | |
| ~BookmarkEditor () | |
| bool | Create (void) |
| bool | keyPressEvent (QKeyEvent *event) |
| Key event handler. | |
Private Slots | |
| void | slotFindCategory (void) |
| void | slotCategoryFound (QString category) |
| void | Save (void) |
| void | Exit (void) |
Private Attributes | |
| Bookmark * | m_site |
| QString | m_siteName |
| QString | m_siteCategory |
| bool | m_editing |
| MythUIText * | m_titleText |
| MythUITextEdit * | m_categoryEdit |
| MythUITextEdit * | m_nameEdit |
| MythUITextEdit * | m_urlEdit |
| MythUIButton * | m_okButton |
| MythUIButton * | m_cancelButton |
| MythUIButton * | m_findCategoryButton |
| MythUISearchDialog * | m_searchDialog |
Site category, name and URL edit screen.
Definition at line 17 of file bookmarkeditor.h.
| BookmarkEditor::BookmarkEditor | ( | Bookmark * | site, |
| bool | edit, | ||
| MythScreenStack * | parent, | ||
| const char * | name | ||
| ) |
Creates a new BookmarkEditor Screen.
| site | The bookmark we are adding/editing |
| edit | If true we are editing an existing bookmark |
| parent | Pointer to the screen stack |
| name | The name of the window |
Definition at line 19 of file bookmarkeditor.cpp.
Definition at line 36 of file bookmarkeditor.cpp.
| bool BookmarkEditor::Create | ( | void | ) | [virtual] |
Reimplemented from MythScreenType.
Definition at line 40 of file bookmarkeditor.cpp.
Referenced by BookmarkManager::ShowEditDialog(), and MythBrowser::slotAddBookmark().
| bool BookmarkEditor::keyPressEvent | ( | QKeyEvent * | ) | [virtual] |
Key event handler.
| event | Keypress event |
Reimplemented from MythScreenType.
Definition at line 95 of file bookmarkeditor.cpp.
| void BookmarkEditor::slotFindCategory | ( | void | ) | [private, slot] |
Definition at line 132 of file bookmarkeditor.cpp.
Referenced by Create().
| void BookmarkEditor::slotCategoryFound | ( | QString | category | ) | [private, slot] |
Definition at line 157 of file bookmarkeditor.cpp.
Referenced by slotFindCategory().
| void BookmarkEditor::Save | ( | void | ) | [private, slot] |
Definition at line 115 of file bookmarkeditor.cpp.
Referenced by Create().
| void BookmarkEditor::Exit | ( | void | ) | [private, slot] |
Definition at line 110 of file bookmarkeditor.cpp.
Bookmark* BookmarkEditor::m_site [private] |
Definition at line 31 of file bookmarkeditor.h.
Referenced by BookmarkEditor(), Create(), and Save().
QString BookmarkEditor::m_siteName [private] |
Definition at line 32 of file bookmarkeditor.h.
Referenced by BookmarkEditor(), and Save().
QString BookmarkEditor::m_siteCategory [private] |
Definition at line 33 of file bookmarkeditor.h.
Referenced by BookmarkEditor(), and Save().
bool BookmarkEditor::m_editing [private] |
Definition at line 34 of file bookmarkeditor.h.
Referenced by BookmarkEditor(), Create(), and Save().
MythUIText* BookmarkEditor::m_titleText [private] |
Definition at line 36 of file bookmarkeditor.h.
Referenced by Create().
MythUITextEdit* BookmarkEditor::m_categoryEdit [private] |
Definition at line 38 of file bookmarkeditor.h.
Referenced by Create(), Save(), slotCategoryFound(), and slotFindCategory().
MythUITextEdit* BookmarkEditor::m_nameEdit [private] |
Definition at line 39 of file bookmarkeditor.h.
MythUITextEdit* BookmarkEditor::m_urlEdit [private] |
Definition at line 40 of file bookmarkeditor.h.
MythUIButton* BookmarkEditor::m_okButton [private] |
Definition at line 42 of file bookmarkeditor.h.
Referenced by Create().
MythUIButton* BookmarkEditor::m_cancelButton [private] |
Definition at line 43 of file bookmarkeditor.h.
Referenced by Create().
MythUIButton* BookmarkEditor::m_findCategoryButton [private] |
Definition at line 44 of file bookmarkeditor.h.
Referenced by Create().
MythUISearchDialog* BookmarkEditor::m_searchDialog [private] |
Definition at line 46 of file bookmarkeditor.h.
Referenced by slotFindCategory().
1.7.6.1