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

#include <keycod.hxx>

Public Member Functions

 KeyCode ()
 
 KeyCode (sal_uInt16 nKey, sal_uInt16 nModifier=0)
 
 KeyCode (sal_uInt16 nKey, bool bShift, bool bMod1, bool bMod2, bool bMod3)
 
 KeyCode (KeyFuncType eFunction)
 
sal_uInt16 GetFullCode () const
 
KeyFuncType GetFullFunction () const
 
sal_uInt16 GetCode () const
 
sal_uInt16 GetModifier () const
 
bool IsShift () const
 
bool IsMod1 () const
 
bool IsMod2 () const
 
bool IsMod3 () const
 
sal_uInt16 GetGroup () const
 
OUString GetName () const
 
bool IsFunction () const
 
KeyFuncType GetFunction () const
 
bool operator== (const KeyCode &rKeyCode) const
 
bool operator!= (const KeyCode &rKeyCode) const
 

Private Attributes

sal_uInt16 nKeyCodeAndModifiers
 
KeyFuncType eFunc
 

Detailed Description

Definition at line 34 of file keycod.hxx.

Constructor & Destructor Documentation

◆ KeyCode() [1/4]

vcl::KeyCode::KeyCode ( )
inline

Definition at line 41 of file keycod.hxx.

References DONTKNOW.

◆ KeyCode() [2/4]

vcl::KeyCode::KeyCode ( sal_uInt16  nKey,
sal_uInt16  nModifier = 0 
)
inline

Definition at line 78 of file keycod.hxx.

References DONTKNOW, eFunc, and nKeyCodeAndModifiers.

◆ KeyCode() [3/4]

vcl::KeyCode::KeyCode ( sal_uInt16  nKey,
bool  bShift,
bool  bMod1,
bool  bMod2,
bool  bMod3 
)
inline

Definition at line 84 of file keycod.hxx.

References DONTKNOW, KEY_MOD1, KEY_MOD2, KEY_MOD3, and KEY_SHIFT.

◆ KeyCode() [4/4]

vcl::KeyCode::KeyCode ( KeyFuncType  eFunction)

Definition at line 59 of file keycod.cxx.

References eFunc, ImplGetKeyCode(), and nKeyCodeAndModifiers.

Member Function Documentation

◆ GetCode()

sal_uInt16 vcl::KeyCode::GetCode ( ) const
inline

Definition at line 49 of file keycod.hxx.

References KEY_CODE_MASK.

Referenced by InterimItemWindow::ChildKeyInput(), TextEngine::DoesKeyChangeText(), vcl::Window::EventNotify(), DockingWindow::EventNotify(), ToolBox::EventNotify(), ComboBox::EventNotify(), Dialog::EventNotify(), FloatingWindow::EventNotify(), FormattedField::EventNotify(), SpinField::EventNotify(), vcl::RoadmapWizard::EventNotify(), vcl::CommandInfoProvider::GetCommandKeyCodeShortcut(), MenuItemList::GetItemCount(), MenuBarWindow::HandleKeyEvent(), IMPL_LINK(), vcl::Window::ImplDlgCtrl(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), TabControl::ImplHandleKeyEvent(), Splitter::ImplKbdTracking(), ToolBox::ImplOpenItem(), ImplPatternProcessKeyInput(), TextView::ImpMoveCursor(), TaskPaneList::IsCycleKey(), SvImpLBox::KeyInput(), SvxIconChoiceCtrl_Impl::KeyInput(), IconViewImpl::KeyInput(), TextWindow::KeyInput(), MenuFloatingWindow::KeyInput(), vcl::Window::KeyInput(), SvInplaceEdit2::KeyInput(), Splitter::KeyInput(), TabControl::KeyInput(), ToolBox::KeyInput(), PushButton::KeyInput(), CheckBox::KeyInput(), RadioButton::KeyInput(), MenuButton::KeyInput(), ScrollBar::KeyInput(), Calendar::KeyInput(), Slider::KeyInput(), DisclosureButton::KeyInput(), TextView::KeyInput(), PushButton::KeyUp(), CheckBox::KeyUp(), RadioButton::KeyUp(), KeyEvent::LogicalTextDirectionality(), UITestLogger::logKeyInput(), SystemWindow::PreNotify(), ListBox::PreNotify(), VclMultiLineEdit::PreNotify(), ImplListBoxWindow::ProcessKeyInput(), and MenuItemList::SearchItem().

◆ GetFullCode()

sal_uInt16 vcl::KeyCode::GetFullCode ( ) const
inline

◆ GetFullFunction()

KeyFuncType vcl::KeyCode::GetFullFunction ( ) const
inline

Definition at line 47 of file keycod.hxx.

◆ GetFunction()

KeyFuncType vcl::KeyCode::GetFunction ( ) const

◆ GetGroup()

sal_uInt16 vcl::KeyCode::GetGroup ( ) const
inline

◆ GetModifier()

sal_uInt16 vcl::KeyCode::GetModifier ( ) const
inline

◆ GetName()

OUString vcl::KeyCode::GetName ( ) const

◆ IsFunction()

bool vcl::KeyCode::IsFunction ( ) const
inline

Definition at line 67 of file keycod.hxx.

References DONTKNOW.

Referenced by Accelerator::ImplInsertAccel().

◆ IsMod1()

bool vcl::KeyCode::IsMod1 ( ) const
inline

◆ IsMod2()

bool vcl::KeyCode::IsMod2 ( ) const
inline

◆ IsMod3()

bool vcl::KeyCode::IsMod3 ( ) const
inline

Definition at line 60 of file keycod.hxx.

References KEY_MOD3.

Referenced by Edit::IsCharInput(), UITestLogger::logKeyInput(), and ImplListBoxWindow::ProcessKeyInput().

◆ IsShift()

bool vcl::KeyCode::IsShift ( ) const
inline

◆ operator!=()

bool vcl::KeyCode::operator!= ( const KeyCode rKeyCode) const
inline

Definition at line 106 of file keycod.hxx.

References DONTKNOW, eFunc, GetFunction(), and nKeyCodeAndModifiers.

◆ operator==()

bool vcl::KeyCode::operator== ( const KeyCode rKeyCode) const
inline

Definition at line 98 of file keycod.hxx.

References DONTKNOW, eFunc, GetFunction(), and nKeyCodeAndModifiers.

Member Data Documentation

◆ eFunc

KeyFuncType vcl::KeyCode::eFunc
private

Definition at line 38 of file keycod.hxx.

Referenced by KeyCode(), operator!=(), and operator==().

◆ nKeyCodeAndModifiers

sal_uInt16 vcl::KeyCode::nKeyCodeAndModifiers
private

Definition at line 37 of file keycod.hxx.

Referenced by KeyCode(), operator!=(), and operator==().


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