MythTV  master
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
JoystickKeycodeEvent Class Reference

#include <jsmenuevent.h>

Inheritance diagram for JoystickKeycodeEvent:
Inheritance graph
[legend]
Collaboration diagram for JoystickKeycodeEvent:
Collaboration graph
[legend]

Public Member Functions

 JoystickKeycodeEvent (const QString &jsmenuevent_text, int key_code, bool key_down)
 
QString getJoystickMenuText () const
 
int getKeycode () const
 
bool isKeyDown () const
 

Static Public Attributes

static Type kEventType
 

Private Attributes

QString m_jsmenueventtext
 
int m_keycode
 
bool m_keydown
 

Detailed Description

Definition at line 13 of file jsmenuevent.h.

Constructor & Destructor Documentation

◆ JoystickKeycodeEvent()

JoystickKeycodeEvent::JoystickKeycodeEvent ( const QString &  jsmenuevent_text,
int  key_code,
bool  key_down 
)
inline

Definition at line 16 of file jsmenuevent.h.

Member Function Documentation

◆ getJoystickMenuText()

QString JoystickKeycodeEvent::getJoystickMenuText ( ) const
inline

Definition at line 23 of file jsmenuevent.h.

Referenced by MythMainWindow::customEvent().

◆ getKeycode()

int JoystickKeycodeEvent::getKeycode ( ) const
inline

Definition at line 24 of file jsmenuevent.h.

Referenced by MythMainWindow::customEvent().

◆ isKeyDown()

bool JoystickKeycodeEvent::isKeyDown ( ) const
inline

Definition at line 25 of file jsmenuevent.h.

Referenced by MythMainWindow::customEvent().

Member Data Documentation

◆ kEventType

QEvent::Type JoystickKeycodeEvent::kEventType
static
Initial value:
=
(QEvent::Type) QEvent::registerEventType()

Definition at line 27 of file jsmenuevent.h.

Referenced by MythMainWindow::customEvent().

◆ m_jsmenueventtext

QString JoystickKeycodeEvent::m_jsmenueventtext
private

Definition at line 30 of file jsmenuevent.h.

Referenced by getJoystickMenuText().

◆ m_keycode

int JoystickKeycodeEvent::m_keycode
private

Definition at line 31 of file jsmenuevent.h.

Referenced by getKeycode().

◆ m_keydown

bool JoystickKeycodeEvent::m_keydown
private

Definition at line 32 of file jsmenuevent.h.

Referenced by isKeyDown().


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