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 186 of file commandevent.hxx.

Constructor & Destructor Documentation

CommandModKeyData::CommandModKeyData ( ModKeyFlags  nCode,
bool  bDown 
)

Definition at line 89 of file commandevent.cxx.

References mbDown, and mnCode.

Member Function Documentation

bool CommandModKeyData::IsDown ( ) const
inline

Definition at line 195 of file commandevent.hxx.

References mbDown.

Referenced by MenuBar::ImplHandleCmdEvent(), and Accelerator::ToggleMnemonicsOnHierarchy().

bool CommandModKeyData::IsLeftShift ( ) const
inline

Definition at line 198 of file commandevent.hxx.

References LeftShift.

bool CommandModKeyData::IsMod1 ( ) const
inline

Definition at line 196 of file commandevent.hxx.

References Mod1Msk.

bool CommandModKeyData::IsMod2 ( ) const
inline

Definition at line 197 of file commandevent.hxx.

References Mod2Msk.

Referenced by MenuBar::ImplHandleCmdEvent(), and Accelerator::ToggleMnemonicsOnHierarchy().

bool CommandModKeyData::IsRightShift ( ) const
inline

Definition at line 199 of file commandevent.hxx.

References RightShift.

Member Data Documentation

bool CommandModKeyData::mbDown
private

Definition at line 189 of file commandevent.hxx.

Referenced by CommandModKeyData(), and IsDown().

ModKeyFlags CommandModKeyData::mnCode
private

Definition at line 190 of file commandevent.hxx.

Referenced by CommandModKeyData().


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