LibreOffice Module vcl (master) 1
|
#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 |
Definition at line 34 of file keycod.hxx.
|
inline |
Definition at line 41 of file keycod.hxx.
References DONTKNOW.
|
inline |
Definition at line 78 of file keycod.hxx.
References DONTKNOW, eFunc, and nKeyCodeAndModifiers.
|
inline |
vcl::KeyCode::KeyCode | ( | KeyFuncType | eFunction | ) |
Definition at line 59 of file keycod.cxx.
References eFunc, ImplGetKeyCode(), and nKeyCodeAndModifiers.
|
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().
|
inline |
Definition at line 46 of file keycod.hxx.
Referenced by Accelerator::ImplGetAccelData(), Accelerator::ImplInsertAccel(), and ImplWindowFrameProc().
|
inline |
Definition at line 47 of file keycod.hxx.
KeyFuncType vcl::KeyCode::GetFunction | ( | ) | const |
Definition at line 72 of file keycod.cxx.
References CUT, DELETE, DONTKNOW, i, and ImplGetKeyCode().
Referenced by TextEngine::DoesKeyChangeText(), Edit::ImplHandleKeyEvent(), Accelerator::ImplInsertAccel(), TextView::KeyInput(), operator!=(), and operator==().
|
inline |
Definition at line 62 of file keycod.hxx.
References KEYGROUP_TYPE.
Referenced by ImplDateProcessKeyInput(), ImplTimeProcessKeyInput(), ToolBox::KeyInput(), and VclMultiLineEdit::PreNotify().
|
inline |
Definition at line 52 of file keycod.hxx.
References KEY_MODIFIERS_MASK.
Referenced by vcl::Window::EventNotify(), DockingWindow::EventNotify(), FormattedField::EventNotify(), SpinField::EventNotify(), ToolBox::ImplActivateItem(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), ToolBox::ImplOpenItem(), TextEngine::IsSimpleCharInput(), TextWindow::KeyInput(), vcl::Window::KeyInput(), ToolBox::KeyInput(), PushButton::KeyInput(), CheckBox::KeyInput(), RadioButton::KeyInput(), MenuButton::KeyInput(), ScrollBar::KeyInput(), Slider::KeyInput(), DisclosureButton::KeyInput(), KeyEvent::LogicalTextDirectionality(), and ImplListBoxWindow::ProcessKeyInput().
OUString vcl::KeyCode::GetName | ( | ) | const |
Definition at line 66 of file keycod.cxx.
References SalFrame::GetKeyName(), ImplGetDefaultWindow(), and vcl::Window::ImplGetFrame().
Referenced by vcl::CommandInfoProvider::RetrieveShortcutsFromConfiguration(), and Menu::SetAccelKey().
|
inline |
Definition at line 67 of file keycod.hxx.
References DONTKNOW.
Referenced by Accelerator::ImplInsertAccel().
|
inline |
Definition at line 56 of file keycod.hxx.
References KEY_MOD1.
Referenced by TextEngine::DoesKeyChangeText(), vcl::Window::EventNotify(), DockingWindow::EventNotify(), vcl::RoadmapWizard::EventNotify(), MenuBarWindow::HandleKeyEvent(), TaskPaneList::HandleKeyEvent(), SvTreeListBox::HandleKeyInput(), vcl::Window::ImplDlgCtrl(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), TabControl::ImplHandleKeyEvent(), ImplPatternProcessKeyInput(), TextView::ImpMoveCursor(), Edit::IsCharInput(), SvImpLBox::KeyInput(), SvxIconChoiceCtrl_Impl::KeyInput(), IconViewImpl::KeyInput(), TextWindow::KeyInput(), MenuFloatingWindow::KeyInput(), TextView::KeyInput(), UITestLogger::logKeyInput(), SystemWindow::PreNotify(), VclMultiLineEdit::PreNotify(), and ImplListBoxWindow::ProcessKeyInput().
|
inline |
Definition at line 58 of file keycod.hxx.
References KEY_MOD2.
Referenced by TextEngine::DoesKeyChangeText(), ComboBox::EventNotify(), vcl::QuickSelectionEngine::HandleKeyEvent(), MenuBarWindow::HandleKeyEvent(), vcl::Window::ImplDlgCtrl(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), ImplPatternProcessKeyInput(), TextView::ImpMoveCursor(), Edit::IsCharInput(), TaskPaneList::IsCycleKey(), SvImpLBox::KeyInput(), SvxIconChoiceCtrl_Impl::KeyInput(), IconViewImpl::KeyInput(), TextWindow::KeyInput(), ToolBox::KeyInput(), MenuButton::KeyInput(), TextView::KeyInput(), UITestLogger::logKeyInput(), MetricField::PreNotify(), MetricBox::PreNotify(), DateField::PreNotify(), ListBox::PreNotify(), and ImplListBoxWindow::ProcessKeyInput().
|
inline |
Definition at line 60 of file keycod.hxx.
References KEY_MOD3.
Referenced by Edit::IsCharInput(), UITestLogger::logKeyInput(), and ImplListBoxWindow::ProcessKeyInput().
|
inline |
Definition at line 54 of file keycod.hxx.
References KEY_SHIFT.
Referenced by vcl::Window::EventNotify(), DockingWindow::EventNotify(), ToolBox::EventNotify(), vcl::RoadmapWizard::EventNotify(), MenuBarWindow::HandleKeyEvent(), TaskPaneList::HandleKeyEvent(), vcl::Window::ImplDlgCtrl(), ImplHandleKey(), Edit::ImplHandleKeyEvent(), TabControl::ImplHandleKeyEvent(), Splitter::ImplKbdTracking(), ImplPatternProcessKeyInput(), TextView::ImpMoveCursor(), SvImpLBox::KeyInput(), SvxIconChoiceCtrl_Impl::KeyInput(), IconViewImpl::KeyInput(), TextWindow::KeyInput(), Splitter::KeyInput(), TextView::KeyInput(), UITestLogger::logKeyInput(), SystemWindow::PreNotify(), VclMultiLineEdit::PreNotify(), and ImplListBoxWindow::ProcessKeyInput().
|
inline |
Definition at line 106 of file keycod.hxx.
References DONTKNOW, eFunc, GetFunction(), and nKeyCodeAndModifiers.
|
inline |
Definition at line 98 of file keycod.hxx.
References DONTKNOW, eFunc, GetFunction(), and nKeyCodeAndModifiers.
|
private |
Definition at line 38 of file keycod.hxx.
Referenced by KeyCode(), operator!=(), and operator==().
|
private |
Definition at line 37 of file keycod.hxx.
Referenced by KeyCode(), operator!=(), and operator==().