LibreOffice Module vcl (master) 1
Public Member Functions | Private Attributes | List of all members
CommandModKeyData Class Reference

#include <commandevent.hxx>

Public Member Functions

 CommandModKeyData (ModKeyFlags nCode, bool bDown)
 
bool IsDown () const
 
bool IsMod1 () const
 
bool IsMod2 () const
 
bool IsLeftShift () const
 
bool IsRightShift () const
 

Private Attributes

bool mbDown
 
ModKeyFlags mnCode
 

Detailed Description

Definition at line 193 of file commandevent.hxx.

Constructor & Destructor Documentation

◆ CommandModKeyData()

CommandModKeyData::CommandModKeyData ( ModKeyFlags  nCode,
bool  bDown 
)

Definition at line 90 of file commandevent.cxx.

References mbDown, and mnCode.

Member Function Documentation

◆ IsDown()

bool CommandModKeyData::IsDown ( ) const
inline

Definition at line 202 of file commandevent.hxx.

References mbDown.

◆ IsLeftShift()

bool CommandModKeyData::IsLeftShift ( ) const
inline

Definition at line 205 of file commandevent.hxx.

References LeftShift, and mnCode.

◆ IsMod1()

bool CommandModKeyData::IsMod1 ( ) const
inline

Definition at line 203 of file commandevent.hxx.

References mnCode, and Mod1Msk.

◆ IsMod2()

bool CommandModKeyData::IsMod2 ( ) const
inline

Definition at line 204 of file commandevent.hxx.

References mnCode, and Mod2Msk.

◆ IsRightShift()

bool CommandModKeyData::IsRightShift ( ) const
inline

Definition at line 206 of file commandevent.hxx.

References mnCode, and RightShift.

Member Data Documentation

◆ mbDown

bool CommandModKeyData::mbDown
private

Definition at line 196 of file commandevent.hxx.

Referenced by CommandModKeyData(), and IsDown().

◆ mnCode

ModKeyFlags CommandModKeyData::mnCode
private

Definition at line 197 of file commandevent.hxx.

Referenced by CommandModKeyData(), IsLeftShift(), IsMod1(), IsMod2(), and IsRightShift().


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