Lines Matching refs:mpData
165 return mpData->maKeyTable.Get( rKeyCode.GetFullKeyCode() ); in ImplGetAccelData()
187 mpData->maKeyTable.Insert( (sal_uLong)pEntry->maKeyCode.GetFullKeyCode(), pEntry ); in ImplCopyData()
188 mpData->maIdList.Insert( pEntry, LIST_APPEND ); in ImplCopyData()
199 ImplAccelEntry* pEntry = mpData->maIdList.First(); in ImplDeleteData()
207 pEntry = mpData->maIdList.Next(); in ImplDeleteData()
258 else if ( !mpData->maKeyTable.Insert( nCode, pEntry ) ) in ImplInsertAccel()
264 ImplAccelEntryInsert( &(mpData->maIdList), pEntry ); in ImplInsertAccel()
274 mpData = new ImplAccelData; in Accelerator()
288 mpData = new ImplAccelData; in Accelerator()
289 ImplCopyData( *((ImplAccelData*)(rAccel.mpData)) ); in Accelerator()
299 mpData = new ImplAccelData; in Accelerator()
331 delete mpData; in ~Accelerator()
404 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in RemoveItem()
410 ImplAccelEntry* pEntry = mpData->maIdList.GetObject( (sal_uLong)nIndex ); in RemoveItem()
413 mpData->maKeyTable.Remove( pEntry->maKeyCode.GetFullKeyCode() ); in RemoveItem()
414 mpData->maIdList.Remove( (sal_uLong)nIndex ); in RemoveItem()
439 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), pEntry->mnId ); in RemoveItem()
443 if ( mpData->maIdList.GetObject( (sal_uLong)nIndex ) == pEntry ) in RemoveItem()
449 mpData->maKeyTable.Remove( rKeyCode.GetFullKeyCode() ); in RemoveItem()
450 mpData->maIdList.Remove( (sal_uLong)nIndex ); in RemoveItem()
467 mpData->maKeyTable.Clear(); in Clear()
468 mpData->maIdList.Clear(); in Clear()
477 return (sal_uInt16)mpData->maIdList.Count(); in GetItemCount()
486 ImplAccelEntry* pEntry = mpData->maIdList.GetObject( (sal_uLong)nPos ); in GetItemId()
499 ImplAccelEntry* pEntry = mpData->maIdList.GetObject( (sal_uLong)nPos ); in GetItemKeyCode()
525 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in GetKeyCode()
527 return mpData->maIdList.GetObject( (sal_uLong)nIndex )->maKeyCode; in GetKeyCode()
538 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in IsIdValid()
589 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in SetAccel()
595 ImplAccelEntry* pEntry = mpData->maIdList.GetObject( (sal_uLong)nIndex ); in SetAccel()
612 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in GetAccel()
614 return mpData->maIdList.GetObject( (sal_uLong)nIndex )->mpAccel; in GetAccel()
649 sal_uInt16 nIndex = ImplAccelEntryGetFirstPos( &(mpData->maIdList), nItemId ); in EnableItem()
655 ImplAccelEntry* pEntry = mpData->maIdList.GetObject( (sal_uLong)nIndex ); in EnableItem()
672 sal_uInt16 nIndex = ImplAccelEntryGetIndex( &(mpData->maIdList), nItemId ); in IsItemEnabled()
674 return mpData->maIdList.GetObject( (sal_uLong)nIndex )->mbEnabled; in IsItemEnabled()
719 mpData->maKeyTable.Clear(); in operator =()
720 mpData->maIdList.Clear(); in operator =()
721 ImplCopyData( *((ImplAccelData*)(rAccel.mpData)) ); in operator =()