LibreOffice Module vcl (master) 1
|
#include <accmgr.hxx>
Public Member Functions | |
ImplAccelManager () | |
~ImplAccelManager () | |
bool | InsertAccel (Accelerator *pAccel) |
void | RemoveAccel (Accelerator const *pAccel) |
void | EndSequence () |
void | FlushAccel () |
bool | IsAccelKey (const vcl::KeyCode &rKeyCode) |
Private Attributes | |
std::optional< std::vector< Accelerator * > > | mxAccelList |
std::optional< std::vector< Accelerator * > > | mxSequenceList |
Definition at line 30 of file accmgr.hxx.
|
inline |
Definition at line 37 of file accmgr.hxx.
ImplAccelManager::~ImplAccelManager | ( | ) |
Definition at line 26 of file accmgr.cxx.
void ImplAccelManager::EndSequence | ( | ) |
Definition at line 75 of file accmgr.cxx.
References mxSequenceList.
Referenced by FlushAccel(), IsAccelKey(), and RemoveAccel().
|
inline |
bool ImplAccelManager::InsertAccel | ( | Accelerator * | pAccel | ) |
Definition at line 30 of file accmgr.cxx.
References i, and mxAccelList.
Referenced by Application::InsertAccel().
bool ImplAccelManager::IsAccelKey | ( | const vcl::KeyCode & | rKeyCode | ) |
Definition at line 90 of file accmgr.cxx.
References Accelerator::Activate(), EndSequence(), FlushAccel(), i, Accelerator::ImplGetAccelData(), ImplAccelEntry::mbEnabled, Accelerator::mnCurId, ImplAccelEntry::mnId, ImplAccelEntry::mpAccel, Accelerator::mpDel, mxAccelList, mxSequenceList, and Accelerator::Select().
Referenced by ImplHandleKey().
void ImplAccelManager::RemoveAccel | ( | Accelerator const * | pAccel | ) |
Definition at line 46 of file accmgr.cxx.
References EndSequence(), Accelerator::GetAccel(), Accelerator::GetItemCount(), Accelerator::GetItemId(), i, mxAccelList, and mxSequenceList.
Referenced by Application::RemoveAccel().
|
private |
Definition at line 33 of file accmgr.hxx.
Referenced by InsertAccel(), IsAccelKey(), and RemoveAccel().
|
private |
Definition at line 34 of file accmgr.hxx.
Referenced by EndSequence(), IsAccelKey(), and RemoveAccel().