MythTV  0.26-pre
Public Member Functions | Private Slots | Private Attributes
BookmarkEditor Class Reference

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

#include <bookmarkeditor.h>

Inheritance diagram for BookmarkEditor:
MythScreenType MythUIType XMLParseBase

List of all members.

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

Bookmarkm_site
QString m_siteName
QString m_siteCategory
bool m_editing
MythUITextm_titleText
MythUITextEditm_categoryEdit
MythUITextEditm_nameEdit
MythUITextEditm_urlEdit
MythUIButtonm_okButton
MythUIButtonm_cancelButton
MythUIButtonm_findCategoryButton
MythUISearchDialogm_searchDialog

Detailed Description

Site category, name and URL edit screen.

Definition at line 17 of file bookmarkeditor.h.


Constructor & Destructor Documentation

BookmarkEditor::BookmarkEditor ( Bookmark site,
bool  edit,
MythScreenStack parent,
const char *  name 
)

Creates a new BookmarkEditor Screen.

Parameters:
siteThe bookmark we are adding/editing
editIf true we are editing an existing bookmark
parentPointer to the screen stack
nameThe name of the window

Definition at line 19 of file bookmarkeditor.cpp.

Definition at line 36 of file bookmarkeditor.cpp.


Member Function Documentation

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.

Parameters:
eventKeypress event

Reimplemented from MythScreenType.

Definition at line 95 of file bookmarkeditor.cpp.

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.

Referenced by Create(), and Save().


Member Data Documentation

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

Definition at line 34 of file bookmarkeditor.h.

Referenced by BookmarkEditor(), Create(), and Save().

Definition at line 36 of file bookmarkeditor.h.

Referenced by Create().

Definition at line 38 of file bookmarkeditor.h.

Referenced by Create(), Save(), slotCategoryFound(), and slotFindCategory().

Definition at line 39 of file bookmarkeditor.h.

Referenced by Create(), and Save().

Definition at line 40 of file bookmarkeditor.h.

Referenced by Create(), and Save().

Definition at line 42 of file bookmarkeditor.h.

Referenced by Create().

Definition at line 43 of file bookmarkeditor.h.

Referenced by Create().

Definition at line 44 of file bookmarkeditor.h.

Referenced by Create().

Definition at line 46 of file bookmarkeditor.h.

Referenced by slotFindCategory().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends