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

#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

Detailed Description

Definition at line 30 of file accmgr.hxx.

Constructor & Destructor Documentation

◆ ImplAccelManager()

ImplAccelManager::ImplAccelManager ( )

Definition at line 37 of file accmgr.hxx.

◆ ~ImplAccelManager()

ImplAccelManager::~ImplAccelManager ( )

Definition at line 26 of file accmgr.cxx.

Member Function Documentation

◆ EndSequence()

void ImplAccelManager::EndSequence ( )

Definition at line 75 of file accmgr.cxx.

References mxSequenceList.

Referenced by FlushAccel(), IsAccelKey(), and RemoveAccel().

◆ FlushAccel()

void ImplAccelManager::FlushAccel ( )

Definition at line 46 of file accmgr.hxx.

References EndSequence().

Referenced by IsAccelKey().

◆ InsertAccel()

bool ImplAccelManager::InsertAccel ( Accelerator pAccel)

Definition at line 30 of file accmgr.cxx.

References i, and mxAccelList.

Referenced by Application::InsertAccel().

◆ IsAccelKey()

bool ImplAccelManager::IsAccelKey ( const vcl::KeyCode rKeyCode)

◆ RemoveAccel()

void ImplAccelManager::RemoveAccel ( Accelerator const *  pAccel)

Member Data Documentation

◆ mxAccelList

std::optional<std::vector< Accelerator* > > ImplAccelManager::mxAccelList

Definition at line 33 of file accmgr.hxx.

Referenced by InsertAccel(), IsAccelKey(), and RemoveAccel().

◆ mxSequenceList

std::optional<std::vector< Accelerator* > > ImplAccelManager::mxSequenceList

Definition at line 34 of file accmgr.hxx.

Referenced by EndSequence(), IsAccelKey(), and RemoveAccel().

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