Lines Matching refs:rKeyCode
163 ImplAccelEntry* Accelerator::ImplGetAccelData( const KeyCode& rKeyCode ) const in ImplGetAccelData()
165 return mpData->maKeyTable.Get( rKeyCode.GetFullKeyCode() ); in ImplGetAccelData()
213 void Accelerator::ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode, in ImplInsertAccel() argument
219 if ( rKeyCode.IsFunction() ) in ImplInsertAccel()
225 ImplGetKeyCode( rKeyCode.GetFunction(), nCode1, nCode2, nCode3, nCode4 ); in ImplInsertAccel()
246 pEntry->maKeyCode = rKeyCode; in ImplInsertAccel()
252 sal_uLong nCode = rKeyCode.GetFullKeyCode(); in ImplInsertAccel()
357 void Accelerator::InsertItem( sal_uInt16 nItemId, const KeyCode& rKeyCode ) in InsertItem() argument
359 ImplInsertAccel( nItemId, rKeyCode, sal_True, NULL ); in InsertItem()
431 void Accelerator::RemoveItem( const KeyCode rKeyCode ) in RemoveItem() argument
435 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in RemoveItem()
449 mpData->maKeyTable.Remove( rKeyCode.GetFullKeyCode() ); in RemoveItem()
508 sal_uInt16 Accelerator::GetItemId( const KeyCode& rKeyCode ) const in GetItemId()
512 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in GetItemId()
544 sal_Bool Accelerator::IsKeyCodeValid( const KeyCode rKeyCode ) const in IsKeyCodeValid()
548 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in IsKeyCodeValid()
554 sal_Bool Accelerator::Call( const KeyCode& rKeyCode, sal_uInt16 nRepeat ) in Call() argument
558 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in Call()
565 maCurKeyCode = rKeyCode; in Call()
621 void Accelerator::SetAccel( const KeyCode rKeyCode, Accelerator* pAccel ) in SetAccel() argument
625 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in SetAccel()
632 Accelerator* Accelerator::GetAccel( const KeyCode rKeyCode ) const in GetAccel()
636 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in GetAccel()
681 void Accelerator::EnableItem( const KeyCode rKeyCode, sal_Bool bEnable ) in EnableItem() argument
685 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in EnableItem()
692 sal_Bool Accelerator::IsItemEnabled( const KeyCode rKeyCode ) const in IsItemEnabled()
696 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in IsItemEnabled()