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 ()
 

Private Attributes

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

Detailed Description

Definition at line 101 of file menuitemlist.hxx.

Constructor & Destructor Documentation

MenuItemList::MenuItemList ( )
inline

Definition at line 107 of file menuitemlist.hxx.

MenuItemList::~MenuItemList ( )

Definition at line 65 of file menuitemlist.cxx.

Member Function Documentation

void MenuItemList::Clear ( )

Definition at line 149 of file menuitemlist.cxx.

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

Definition at line 124 of file menuitemlist.hxx.

References GetData().

MenuItemData* MenuItemList::GetDataFromPos ( size_t  nPos) const
inline
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 141 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 ( )
inline

Definition at line 143 of file menuitemlist.hxx.

Referenced by PopupMenu::SelectItem().

Member Data Documentation

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

Definition at line 104 of file menuitemlist.hxx.


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