AntiMicroX
Public Member Functions | Protected Attributes | Private Slots
JoyKeyRepeatHelper Class Reference

#include <joykeyrepeathelper.h>

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

Public Member Functions

 JoyKeyRepeatHelper (QObject *parent=nullptr)
 
QTimer * getRepeatTimer ()
 
void setLastActiveKey (JoyButtonSlot *slot)
 
JoyButtonSlotgetLastActiveKey ()
 
void setKeyRepeatRate (int repeatRate)
 
int getKeyRepeatRate ()
 

Protected Attributes

QTimer keyRepeatTimer
 
JoyButtonSlotlastActiveKey
 
int keyRepeatDelay
 
int keyRepeatRate
 

Private Slots

void repeatKeysEvent ()
 

Constructor & Destructor Documentation

◆ JoyKeyRepeatHelper()

JoyKeyRepeatHelper::JoyKeyRepeatHelper ( QObject *  parent = nullptr)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ getKeyRepeatRate()

int JoyKeyRepeatHelper::getKeyRepeatRate ( )

◆ getLastActiveKey()

JoyButtonSlot * JoyKeyRepeatHelper::getLastActiveKey ( )

◆ getRepeatTimer()

QTimer * JoyKeyRepeatHelper::getRepeatTimer ( )

◆ repeatKeysEvent

void JoyKeyRepeatHelper::repeatKeysEvent ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setKeyRepeatRate()

void JoyKeyRepeatHelper::setKeyRepeatRate ( int  repeatRate)

◆ setLastActiveKey()

void JoyKeyRepeatHelper::setLastActiveKey ( JoyButtonSlot slot)

Field Documentation

◆ keyRepeatDelay

int JoyKeyRepeatHelper::keyRepeatDelay
protected

◆ keyRepeatRate

int JoyKeyRepeatHelper::keyRepeatRate
protected

◆ keyRepeatTimer

QTimer JoyKeyRepeatHelper::keyRepeatTimer
protected

◆ lastActiveKey

JoyButtonSlot* JoyKeyRepeatHelper::lastActiveKey
protected

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