MythTV master
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap Class Reference
Collaboration diagram for anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap:
[legend]

Public Types

enum  FA_State : std::uint8_t { efsNONE , efsDELETE , efsSAVE }
 

Public Member Functions

 FileAssociationWrap (const QString &new_extension)
 
 FileAssociationWrap (FileAssociations::file_association fa)
 
unsigned int GetIDx (void) const
 
QString GetExtension (void) const
 
QString GetCommand (void) const
 
bool GetDefault (void) const
 
bool GetIgnore (void) const
 
FA_State GetState () const
 
void CommitChanges ()
 
void MarkForDeletion ()
 
void SetDefault (bool yes_or_no)
 
void SetIgnore (bool yes_or_no)
 
void SetCommand (const QString &new_command)
 

Private Member Functions

void SetChanged ()
 

Private Attributes

FileAssociations::file_association m_fa
 
FA_State m_state {efsNONE}
 

Detailed Description

Definition at line 37 of file videofileassoc.cpp.

Member Enumeration Documentation

◆ FA_State

enum anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::FA_State : std::uint8_t
Enumerator
efsNONE 
efsDELETE 
efsSAVE 

Definition at line 40 of file videofileassoc.cpp.

Constructor & Destructor Documentation

◆ FileAssociationWrap() [1/2]

anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::FileAssociationWrap ( const QString &  new_extension)
inlineexplicit

Definition at line 47 of file videofileassoc.cpp.

◆ FileAssociationWrap() [2/2]

anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::FileAssociationWrap ( FileAssociations::file_association  fa)
inlineexplicit

Definition at line 52 of file videofileassoc.cpp.

Member Function Documentation

◆ CommitChanges()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::CommitChanges ( void  )
inline

Definition at line 63 of file videofileassoc.cpp.

◆ GetCommand()

QString anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetCommand ( void  ) const
inline

Definition at line 57 of file videofileassoc.cpp.

◆ GetDefault()

bool anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetDefault ( void  ) const
inline

Definition at line 58 of file videofileassoc.cpp.

◆ GetExtension()

QString anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetExtension ( void  ) const
inline

◆ GetIDx()

unsigned int anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetIDx ( void  ) const
inline

Definition at line 55 of file videofileassoc.cpp.

◆ GetIgnore()

bool anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetIgnore ( void  ) const
inline

Definition at line 59 of file videofileassoc.cpp.

◆ GetState()

FA_State anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::GetState ( void  ) const
inline

Definition at line 61 of file videofileassoc.cpp.

◆ MarkForDeletion()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::MarkForDeletion ( )
inline

Definition at line 87 of file videofileassoc.cpp.

◆ SetChanged()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::SetChanged ( void  )
inlineprivate

Definition at line 111 of file videofileassoc.cpp.

◆ SetCommand()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::SetCommand ( const QString &  new_command)
inline

Definition at line 104 of file videofileassoc.cpp.

◆ SetDefault()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::SetDefault ( bool  yes_or_no)
inline

Definition at line 92 of file videofileassoc.cpp.

◆ SetIgnore()

void anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::SetIgnore ( bool  yes_or_no)
inline

Definition at line 98 of file videofileassoc.cpp.

Member Data Documentation

◆ m_fa

FileAssociations::file_association anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::m_fa
private

Definition at line 114 of file videofileassoc.cpp.

◆ m_state

FA_State anonymous_namespace{videofileassoc.cpp}::FileAssociationWrap::m_state {efsNONE}
private

Definition at line 115 of file videofileassoc.cpp.


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