MythTV  master
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MHKeyLookup Class Reference

Public Member Functions

 MHKeyLookup ()
int Find (const QString &name, int reg) const

Private Types

using key_t = QPair< QString, int >

Private Member Functions

void key (const QString &name, int code, int r1, int r2=0, int r3=0, int r4=0, int r5=0, int r6=0, int r7=0, int r8=0, int r9=0)

Private Attributes

QHash< key_t, int > m_map

Detailed Description

Definition at line 508 of file mhi.cpp.

Member Typedef Documentation

◆ key_t

using MHKeyLookup::key_t = QPair< QString, int >

Definition at line 510 of file mhi.cpp.

Constructor & Destructor Documentation

◆ MHKeyLookup()

MHKeyLookup::MHKeyLookup ( )

Definition at line 548 of file mhi.cpp.

Member Function Documentation

◆ Find()

int MHKeyLookup::Find ( const QString &  name,
int  reg 
) const

Definition at line 515 of file mhi.cpp.

Referenced by MHIContext::OfferKey().

◆ key()

void MHKeyLookup::key ( const QString &  name,
int  code,
int  r1,
int  r2 = 0,
int  r3 = 0,
int  r4 = 0,
int  r5 = 0,
int  r6 = 0,
int  r7 = 0,
int  r8 = 0,
int  r9 = 0 

Definition at line 525 of file mhi.cpp.

Referenced by MHKeyLookup().

Member Data Documentation

◆ m_map

QHash<key_t,int > MHKeyLookup::m_map

Definition at line 522 of file mhi.cpp.

Referenced by Find(), and key().

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