AntiMicroX
Public Member Functions | Static Public Member Functions | Static Protected Attributes | Private Member Functions | Private Attributes
AntKeyMapper Class Reference

#include <antkeymapper.h>

Inheritance diagram for AntKeyMapper:
[legend]
Collaboration diagram for AntKeyMapper:
[legend]

Public Member Functions

void deleteInstance ()
 
int returnVirtualKey (int qkey)
 
int returnQtKey (int key, int scancode=0)
 
bool isModifierKey (int qkey)
 
QtKeyMapperBasegetNativeKeyMapper () const
 
QtKeyMapperBasegetKeyMapper () const
 
bool hasNativeKeyMapper ()
 

Static Public Member Functions

static AntKeyMappergetInstance (QString handler="")
 

Static Protected Attributes

static AntKeyMapper_instance = nullptr
 

Private Member Functions

 AntKeyMapper (QString handler="", QObject *parent=nullptr)
 

Private Attributes

QtKeyMapperBaseinternalMapper
 
QtKeyMapperBasenativeKeyMapper
 

Constructor & Destructor Documentation

◆ AntKeyMapper()

AntKeyMapper::AntKeyMapper ( QString  handler = "",
QObject *  parent = nullptr 
)
explicitprivate
Here is the caller graph for this function:

Member Function Documentation

◆ deleteInstance()

void AntKeyMapper::deleteInstance ( )
Here is the caller graph for this function:

◆ getInstance()

AntKeyMapper * AntKeyMapper::getInstance ( QString  handler = "")
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getKeyMapper()

QtKeyMapperBase * AntKeyMapper::getKeyMapper ( ) const
Here is the caller graph for this function:

◆ getNativeKeyMapper()

QtKeyMapperBase * AntKeyMapper::getNativeKeyMapper ( ) const
Here is the caller graph for this function:

◆ hasNativeKeyMapper()

bool AntKeyMapper::hasNativeKeyMapper ( )

◆ isModifierKey()

bool AntKeyMapper::isModifierKey ( int  qkey)
Here is the call graph for this function:

◆ returnQtKey()

int AntKeyMapper::returnQtKey ( int  key,
int  scancode = 0 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ returnVirtualKey()

int AntKeyMapper::returnVirtualKey ( int  qkey)
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ _instance

AntKeyMapper * AntKeyMapper::_instance = nullptr
staticprotected

◆ internalMapper

QtKeyMapperBase* AntKeyMapper::internalMapper
private

◆ nativeKeyMapper

QtKeyMapperBase* AntKeyMapper::nativeKeyMapper
private

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