MythTV  master
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
FileAssocDialogPrivate Class Reference
Collaboration diagram for FileAssocDialogPrivate:
Collaboration graph
[legend]

Classes

struct  fa_col_ent_2_UIDFAPair
 
struct  test_fa_state
 

Public Types

using UIReadyList_type = std::vector< UIDToFAPair >
 

Public Member Functions

 FileAssocDialogPrivate ()
 
 ~FileAssocDialogPrivate ()
 
void SaveFileAssociations ()
 
bool AddExtension (const QString &newExtension, UIDToFAPair::UID_type &new_id)
 
bool DeleteExtension (UIDToFAPair::UID_type uid)
 
UIReadyList_type GetUIReadyList ()
 
void SetSelectionOverride (UIDToFAPair::UID_type new_sel)
 
UIDToFAPair::UID_type GetSelectionOverride () const
 

Static Public Member Functions

static FileAssociationWrap * GetCurrentFA (MythUIButtonList *buttonList)
 

Private Types

using FA_collection = std::map< UIDToFAPair::UID_type, FileAssociationWrap * >
 

Private Member Functions

void LoadFileAssociations ()
 

Private Attributes

FA_collection m_fileAssociations
 
UIDToFAPair::UID_type m_nextFAID {0}
 
UIDToFAPair::UID_type m_selectionOverride {0}
 

Detailed Description

Definition at line 163 of file videofileassoc.cpp.

Member Typedef Documentation

◆ UIReadyList_type

using FileAssocDialogPrivate::UIReadyList_type = std::vector<UIDToFAPair>

Definition at line 166 of file videofileassoc.cpp.

◆ FA_collection

using FileAssocDialogPrivate::FA_collection = std::map<UIDToFAPair::UID_type, FileAssociationWrap *>
private

Definition at line 255 of file videofileassoc.cpp.

Constructor & Destructor Documentation

◆ FileAssocDialogPrivate()

FileAssocDialogPrivate::FileAssocDialogPrivate ( )
inline

Definition at line 169 of file videofileassoc.cpp.

◆ ~FileAssocDialogPrivate()

FileAssocDialogPrivate::~FileAssocDialogPrivate ( )
inline

Definition at line 174 of file videofileassoc.cpp.

Member Function Documentation

◆ SaveFileAssociations()

void FileAssocDialogPrivate::SaveFileAssociations ( )
inline

Definition at line 180 of file videofileassoc.cpp.

Referenced by FileAssocDialog::OnDonePressed().

◆ AddExtension()

bool FileAssocDialogPrivate::AddExtension ( const QString &  newExtension,
UIDToFAPair::UID_type &  new_id 
)
inline

Definition at line 186 of file videofileassoc.cpp.

Referenced by FileAssocDialog::OnNewExtensionComplete().

◆ DeleteExtension()

bool FileAssocDialogPrivate::DeleteExtension ( UIDToFAPair::UID_type  uid)
inline

Definition at line 199 of file videofileassoc.cpp.

Referenced by FileAssocDialog::OnDeletePressed().

◆ GetUIReadyList()

UIReadyList_type FileAssocDialogPrivate::GetUIReadyList ( )
inline

Definition at line 213 of file videofileassoc.cpp.

Referenced by FileAssocDialog::UpdateScreen().

◆ GetCurrentFA()

static FileAssociationWrap* FileAssocDialogPrivate::GetCurrentFA ( MythUIButtonList buttonList)
inlinestatic

◆ SetSelectionOverride()

void FileAssocDialogPrivate::SetSelectionOverride ( UIDToFAPair::UID_type  new_sel)
inline

Definition at line 244 of file videofileassoc.cpp.

Referenced by FileAssocDialog::OnNewExtensionComplete().

◆ GetSelectionOverride()

UIDToFAPair::UID_type FileAssocDialogPrivate::GetSelectionOverride ( ) const
inline

Definition at line 249 of file videofileassoc.cpp.

Referenced by FileAssocDialog::UpdateScreen().

◆ LoadFileAssociations()

void FileAssocDialogPrivate::LoadFileAssociations ( )
inlineprivate

Definition at line 276 of file videofileassoc.cpp.

Referenced by FileAssocDialogPrivate().

Member Data Documentation

◆ m_fileAssociations

FA_collection FileAssocDialogPrivate::m_fileAssociations
private

◆ m_nextFAID

UIDToFAPair::UID_type FileAssocDialogPrivate::m_nextFAID {0}
private

Definition at line 310 of file videofileassoc.cpp.

Referenced by AddExtension(), and LoadFileAssociations().

◆ m_selectionOverride

UIDToFAPair::UID_type FileAssocDialogPrivate::m_selectionOverride {0}
private

Definition at line 311 of file videofileassoc.cpp.

Referenced by GetSelectionOverride(), and SetSelectionOverride().


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