AntiMicroX
Public Slots | Public Member Functions | Private Attributes
JoyControlStickContextMenuHelper Class Reference

Some helper methods which run in the IO thread and are called from the GUI thread. More...

#include <joycontrolstickcontextmenuhelper.h>

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

Public Slots

void setFromPendingSlots ()
 
void clearButtonsSlotsEventReset ()
 

Public Member Functions

 JoyControlStickContextMenuHelper (JoyControlStick *stick, QObject *parent=nullptr)
 
void setPendingSlots (QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > *tempSlots)
 
void clearPendingSlots ()
 
const QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > & getPendingSlots ()
 

Private Attributes

JoyControlStickstick
 
QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > pendingSlots
 

Detailed Description

Some helper methods which run in the IO thread and are called from the GUI thread.

Constructor & Destructor Documentation

◆ JoyControlStickContextMenuHelper()

JoyControlStickContextMenuHelper::JoyControlStickContextMenuHelper ( JoyControlStick stick,
QObject *  parent = nullptr 
)
explicit

Member Function Documentation

◆ clearButtonsSlotsEventReset

void JoyControlStickContextMenuHelper::clearButtonsSlotsEventReset ( )
slot
Here is the call graph for this function:

◆ clearPendingSlots()

void JoyControlStickContextMenuHelper::clearPendingSlots ( )

◆ getPendingSlots()

const QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > & JoyControlStickContextMenuHelper::getPendingSlots ( )
Here is the caller graph for this function:

◆ setFromPendingSlots

void JoyControlStickContextMenuHelper::setFromPendingSlots ( )
slot
Here is the call graph for this function:

◆ setPendingSlots()

void JoyControlStickContextMenuHelper::setPendingSlots ( QHash< JoyControlStick::JoyStickDirections, JoyButtonSlot * > *  tempSlots)
Here is the caller graph for this function:

Field Documentation

◆ pendingSlots

QHash<JoyControlStick::JoyStickDirections, JoyButtonSlot *> JoyControlStickContextMenuHelper::pendingSlots
private

◆ stick

JoyControlStick* JoyControlStickContextMenuHelper::stick
private

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