MythTV  master
Public Member Functions | Public Attributes | List of all members
MythTVMenuItemContext Class Reference

#include <libmythtv/mythtvmenu.h>

Collaboration diagram for MythTVMenuItemContext:
[legend]

Public Member Functions

bool AddButton (MythOSDDialogData *Menu, bool Active, const QString &Action, const QString &DefaultTextActive, const QString &DefaultTextInactive, bool IsMenu, const QString &TextArg) const
 
 MythTVMenuItemContext (const MythTVMenu &Menu, const QDomNode &Node, QString Name, MenuCurrentContext Current, bool Visible)
 
 MythTVMenuItemContext (const MythTVMenu &Menu, const QDomNode &Node, MenuShowContext Context, MenuCurrentContext Current, QString Action, QString ActionText, bool Visible)
 
 MythTVMenuItemContext (const MythTVMenu &Menu, const QDomNode &Node, MenuShowContext Context, MenuCurrentContext Current, QString Action, bool Visible)
 

Public Attributes

const MythTVMenum_menu
 
const QDomNode & m_node
 
MenuCategory m_category { kMenuCategoryItem }
 
const QString m_menuName
 
MenuShowContext m_showContext { kMenuShowActive }
 
MenuCurrentContext m_currentContext { kMenuCurrentDefault }
 
const QString m_action
 
const QString m_actionText
 
bool m_visible { false }
 

Detailed Description

Definition at line 49 of file mythtvmenu.h.

Constructor & Destructor Documentation

◆ MythTVMenuItemContext() [1/3]

MythTVMenuItemContext::MythTVMenuItemContext ( const MythTVMenu Menu,
const QDomNode &  Node,
QString  Name,
MenuCurrentContext  Current,
bool  Visible 
)

Definition at line 48 of file mythtvmenu.cpp.

◆ MythTVMenuItemContext() [2/3]

MythTVMenuItemContext::MythTVMenuItemContext ( const MythTVMenu Menu,
const QDomNode &  Node,
MenuShowContext  Context,
MenuCurrentContext  Current,
QString  Action,
QString  ActionText,
bool  Visible 
)

Definition at line 61 of file mythtvmenu.cpp.

◆ MythTVMenuItemContext() [3/3]

MythTVMenuItemContext::MythTVMenuItemContext ( const MythTVMenu Menu,
const QDomNode &  Node,
MenuShowContext  Context,
MenuCurrentContext  Current,
QString  Action,
bool  Visible 
)

Definition at line 75 of file mythtvmenu.cpp.

Member Function Documentation

◆ AddButton()

bool MythTVMenuItemContext::AddButton ( MythOSDDialogData Menu,
bool  Active,
const QString &  Action,
const QString &  DefaultTextActive,
const QString &  DefaultTextInactive,
bool  IsMenu,
const QString &  TextArg 
) const

Definition at line 14 of file mythtvmenu.cpp.

Referenced by TV::MenuItemDisplayCutlist().

Member Data Documentation

◆ m_menu

const MythTVMenu& MythTVMenuItemContext::m_menu

◆ m_node

const QDomNode& MythTVMenuItemContext::m_node

Definition at line 66 of file mythtvmenu.h.

Referenced by TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().

◆ m_category

MenuCategory MythTVMenuItemContext::m_category { kMenuCategoryItem }

Definition at line 67 of file mythtvmenu.h.

Referenced by AddButton(), TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().

◆ m_menuName

const QString MythTVMenuItemContext::m_menuName

Definition at line 68 of file mythtvmenu.h.

Referenced by TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().

◆ m_showContext

MenuShowContext MythTVMenuItemContext::m_showContext { kMenuShowActive }

Definition at line 69 of file mythtvmenu.h.

Referenced by AddButton().

◆ m_currentContext

MenuCurrentContext MythTVMenuItemContext::m_currentContext { kMenuCurrentDefault }

Definition at line 70 of file mythtvmenu.h.

Referenced by AddButton(), TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().

◆ m_action

const QString MythTVMenuItemContext::m_action

Definition at line 71 of file mythtvmenu.h.

Referenced by AddButton(), TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().

◆ m_actionText

const QString MythTVMenuItemContext::m_actionText

Definition at line 72 of file mythtvmenu.h.

Referenced by AddButton().

◆ m_visible

bool MythTVMenuItemContext::m_visible { false }

Definition at line 73 of file mythtvmenu.h.

Referenced by AddButton(), TV::MenuItemDisplayCutlist(), and TV::MenuItemDisplayPlayback().


The documentation for this class was generated from the following files: