Lines Matching refs:nItemId
213 void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode, in ImplInsertAccel() argument
217 DBG_ASSERT( nItemId, "Accelerator::InsertItem(): ItemId == 0" ); in ImplInsertAccel()
227 ImplInsertAccel( nItemId, KeyCode( nCode1, nCode1 ), bEnable, pAutoAccel ); in ImplInsertAccel()
232 ImplInsertAccel( nItemId, KeyCode( nCode2, nCode2 ), bEnable, pAutoAccel ); in ImplInsertAccel()
237 ImplInsertAccel( nItemId, KeyCode( nCode3, nCode3 ), bEnable, pAutoAccel ); in ImplInsertAccel()
245 pEntry->mnId = nItemId; in ImplInsertAccel()
357 void Accelerator::InsertItem( sal_uInt16 nItemId, const KeyCode& rKeyCode ) in InsertItem() argument
359 ImplInsertAccel( nItemId, rKeyCode, sal_True, NULL ); in InsertItem()
399 void Accelerator::RemoveItem( sal_uInt16 nItemId ) in RemoveItem() argument
404 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in RemoveItem()
411 if ( pEntry && pEntry->mnId == nItemId ) in RemoveItem()
521 KeyCode Accelerator::GetKeyCode( sal_uInt16 nItemId ) const in GetKeyCode()
525 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in GetKeyCode()
534 sal_Bool Accelerator::IsIdValid( sal_uInt16 nItemId ) const in IsIdValid()
538 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in IsIdValid()
585 void Accelerator::SetAccel( sal_uInt16 nItemId, Accelerator* pAccel ) in SetAccel() argument
589 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in SetAccel()
596 if ( pEntry->mnId != nItemId ) in SetAccel()
608 Accelerator* Accelerator::GetAccel( sal_uInt16 nItemId ) const in GetAccel()
612 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in GetAccel()
645 void Accelerator::EnableItem( sal_uInt16 nItemId, sal_Bool bEnable ) in EnableItem() argument
649 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in EnableItem()
656 if ( pEntry->mnId != nItemId ) in EnableItem()
668 sal_Bool Accelerator::IsItemEnabled( sal_uInt16 nItemId ) const in IsItemEnabled()
672 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in IsItemEnabled()