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

#include <menuitemlist.hxx>

Public Member Functions

 MenuItemList ()
 ~MenuItemList ()
MenuItemDataInsert (sal_uInt16 nId, MenuItemType eType, MenuItemBits nBits, const OUString &rStr, Menu *pMenu, size_t nPos, const OString &rIdent)
void InsertSeparator (const OString &rIdent, size_t nPos)
void Remove (size_t nPos)
void Clear ()
MenuItemDataGetData (sal_uInt16 nSVId, size_t &rPos) const
MenuItemDataGetData (sal_uInt16 nSVId) const
MenuItemDataGetDataFromPos (size_t nPos) const
MenuItemDataSearchItem (sal_Unicode cSelectChar, vcl::KeyCode aKeyCode, size_t &rPos, size_t &nDuplicates, size_t nCurrentPos) const
size_t GetItemCount (sal_Unicode cSelectChar) const
size_t GetItemCount (vcl::KeyCode aKeyCode) const
size_t size () const

Private Attributes

::std::vector< std::unique_ptr< MenuItemData > > maItemList

Detailed Description

Definition at line 102 of file menuitemlist.hxx.

Constructor & Destructor Documentation

MenuItemList::MenuItemList ( )

Definition at line 108 of file menuitemlist.hxx.

MenuItemList::~MenuItemList ( )

Definition at line 61 of file menuitemlist.cxx.

Member Function Documentation

void MenuItemList::Clear ( )

Definition at line 145 of file menuitemlist.cxx.

MenuItemData * MenuItemList::GetData ( sal_uInt16  nSVId,
size_t &  rPos 
) const
MenuItemData* MenuItemList::GetData ( sal_uInt16  nSVId) const

Definition at line 125 of file menuitemlist.hxx.

References GetData().

MenuItemData* MenuItemList::GetDataFromPos ( size_t  nPos) const
size_t MenuItemList::GetItemCount ( sal_Unicode  cSelectChar) const
size_t MenuItemList::GetItemCount ( vcl::KeyCode  aKeyCode) const
MenuItemData * MenuItemList::Insert ( sal_uInt16  nId,
MenuItemType  eType,
MenuItemBits  nBits,
const OUString &  rStr,
Menu pMenu,
size_t  nPos,
const OString &  rIdent 
void MenuItemList::InsertSeparator ( const OString &  rIdent,
size_t  nPos 
void MenuItemList::Remove ( size_t  nPos)

Definition at line 137 of file menuitemlist.cxx.

MenuItemData * MenuItemList::SearchItem ( sal_Unicode  cSelectChar,
vcl::KeyCode  aKeyCode,
size_t &  rPos,
size_t &  nDuplicates,
size_t  nCurrentPos 
) const
size_t MenuItemList::size ( ) const

Definition at line 144 of file menuitemlist.hxx.

Referenced by PopupMenu::SelectItem().

Member Data Documentation

::std::vector< std::unique_ptr<MenuItemData> > MenuItemList::maItemList

Definition at line 105 of file menuitemlist.hxx.

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