Lines Matching refs:rEvent
39 KeyEvent::KeyEvent( const ::com::sun::star::awt::KeyEvent& rEvent ) in KeyEvent() argument
42 rEvent.KeyCode, in KeyEvent()
43 (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::SHIFT) != 0, in KeyEvent()
44 (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD1) != 0, in KeyEvent()
45 (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD2) != 0, in KeyEvent()
46 (rEvent.Modifiers & ::com::sun::star::awt::KeyModifier::MOD3) != 0); in KeyEvent()
48 mnCharCode = rEvent.KeyChar; in KeyEvent()
52 void KeyEvent::InitKeyEvent( ::com::sun::star::awt::KeyEvent& rEvent ) const in InitKeyEvent()
54 rEvent.Modifiers = 0; in InitKeyEvent()
56 rEvent.Modifiers |= ::com::sun::star::awt::KeyModifier::SHIFT; in InitKeyEvent()
58 rEvent.Modifiers |= ::com::sun::star::awt::KeyModifier::MOD1; in InitKeyEvent()
60 rEvent.Modifiers |= ::com::sun::star::awt::KeyModifier::MOD2; in InitKeyEvent()
62 rEvent.Modifiers |= ::com::sun::star::awt::KeyModifier::MOD3; in InitKeyEvent()
64 rEvent.KeyCode = GetKeyCode().GetCode(); in InitKeyEvent()
65 rEvent.KeyChar = GetCharCode(); in InitKeyEvent()
66 rEvent.KeyFunc = sal::static_int_cast< sal_Int16 >(GetKeyCode().GetFunction()); in InitKeyEvent()