Home
last modified time | relevance | path

Searched refs:rKeyCode (Results 1 – 25 of 72) sorted by relevance

123

/trunk/main/vcl/inc/vcl/
H A Dkeycod.hxx103 KeyCode& operator = ( const KeyCode& rKeyCode );
104 sal_Bool operator ==( const KeyCode& rKeyCode ) const;
105 sal_Bool operator !=( const KeyCode& rKeyCode ) const;
125 return (nCode == rKeyCode.nCode); in operator ==()
127 return (GetFunction() == rKeyCode.GetFunction()); in operator ==()
133 return (nCode != rKeyCode.nCode); in operator !=()
135 return (GetFunction() != rKeyCode.GetFunction()); in operator !=()
141 return (GetFullKeyCode() == rKeyCode.GetFullKeyCode()); in IsDefinedKeyCodeEqual()
142 return (GetFunction() == rKeyCode.GetFunction()); in IsDefinedKeyCodeEqual()
147 nCode = rKeyCode.nCode; in operator =()
[all …]
H A Daccel.hxx62 SAL_DLLPRIVATE void ImplInsertAccel( sal_uInt16 nItemId, const KeyCode& rKeyCode,
65 SAL_DLLPRIVATE ImplAccelEntry* ImplGetAccelData( const KeyCode& rKeyCode ) const;
81 void InsertItem( sal_uInt16 nItemId, const KeyCode& rKeyCode );
84 void RemoveItem( const KeyCode rKeyCode );
95 sal_uInt16 GetItemId( const KeyCode& rKeyCode ) const;
98 sal_Bool IsKeyCodeValid( const KeyCode rKeyCode ) const;
99 sal_Bool Call( const KeyCode& rKeyCode, sal_uInt16 nRepeat = 0 );
103 void SetAccel( const KeyCode rKeyCode, Accelerator* pAccel );
104 Accelerator* GetAccel( const KeyCode rKeyCode ) const;
108 void EnableItem( const KeyCode rKeyCode, sal_Bool bEnable = sal_True );
[all …]
H A Devent.hxx61 KeyEvent( xub_Unicode nChar, const KeyCode& rKeyCode,
85 inline KeyEvent::KeyEvent( xub_Unicode nChar, const KeyCode& rKeyCode, in KeyEvent() argument
87 maKeyCode( rKeyCode ) in KeyEvent()
/trunk/main/vcl/source/window/
H A Daccel.cxx219 if ( rKeyCode.IsFunction() ) in ImplInsertAccel()
246 pEntry->maKeyCode = rKeyCode; in ImplInsertAccel()
252 sal_uLong nCode = rKeyCode.GetFullKeyCode(); in ImplInsertAccel()
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()
512 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in GetItemId()
548 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in IsKeyCodeValid()
558 ImplAccelEntry* pEntry = ImplGetAccelData( rKeyCode ); in Call()
565 maCurKeyCode = rKeyCode; in Call()
[all …]
H A Daccmgr.cxx133 sal_Bool ImplAccelManager::IsAccelKey( const KeyCode& rKeyCode, sal_uInt16 nRepeat ) in IsAccelKey() argument
158 ImplAccelEntry* pEntry = pAccel->ImplGetAccelData( rKeyCode ); in IsAccelKey()
185 pAccel->maCurKeyCode = rKeyCode; in IsAccelKey()
227 ImplAccelEntry* pEntry = pAccel->ImplGetAccelData( rKeyCode ); in IsAccelKey()
259 pAccel->maCurKeyCode = rKeyCode; in IsAccelKey()
/trunk/main/sw/source/ui/docvw/
H A DSidebarTxtControl.cxx175 const KeyCode& rKeyCode = rKeyEvt.GetKeyCode(); in KeyInput() local
176 sal_uInt16 nKey = rKeyCode.GetCode(); in KeyInput()
177 if ( ( rKeyCode.IsMod1() && rKeyCode.IsMod2() ) && in KeyInput()
183 ( rKeyCode.IsMod1() && in KeyInput()
191 if ( !rKeyCode.IsMod1() && !rKeyCode.IsMod2() ) in KeyInput()
205 if ( !( (nKey == KEY_Z || nKey == KEY_Y) && rKeyCode.IsMod1()) ) in KeyInput()
H A Dedtwin.cxx1392 const KeyCode& rKeyCode = aKeyEvent.GetKeyCode(); in KeyInput() local
1397 …if ((rKeyCode.IsMod1() && rKeyCode.IsMod2()) && ((rKeyCode.GetCode() == KEY_PAGEUP) || (rKeyCode.G… in KeyInput()
1429 xVar->PutUShort( rKeyCode.GetModifier() | rKeyCode.GetCode() ); in KeyInput()
1541 if( 0x7210 == rKeyCode.GetFullCode() ) in KeyInput()
1547 if( !rKeyCode.IsMod2() && '=' == aCh && in KeyInput()
1577 (rKeyCode.GetModifier() | rKeyCode.GetCode()) ) in KeyInput()
1583 switch( rKeyCode.GetModifier() | rKeyCode.GetCode() ) in KeyInput()
1680 switch ( rKeyCode.GetCode() ) in KeyInput()
2120 switch( rKeyCode.GetModifier() | rKeyCode.GetCode() ) in KeyInput()
2173 switch ( rKeyCode.GetModifier() | rKeyCode.GetCode() ) in KeyInput()
[all …]
/trunk/main/svx/source/form/
H A Dfmview.cxx505 const KeyCode& rKeyCode = rKEvt.GetKeyCode(); in KeyInput() local
507 && rKeyCode.GetCode() == KEY_RETURN in KeyInput()
512 && !rKeyCode.IsShift() in KeyInput()
513 && !rKeyCode.IsMod1() in KeyInput()
514 && !rKeyCode.IsMod2() in KeyInput()
537 && !rKeyCode.IsShift() in KeyInput()
538 && !rKeyCode.IsMod1() in KeyInput()
539 && rKeyCode.IsMod2() in KeyInput()
H A Dtabwin.cxx297 const KeyCode& rKeyCode = _rNEvt.GetKeyEvent()->GetKeyCode(); in PreNotify() local
298 if ( ( 0 == rKeyCode.GetModifier() ) && ( KEY_RETURN == rKeyCode.GetCode() ) ) in PreNotify()
/trunk/main/formula/source/ui/dlg/
H A Dfuncutl.cxx1011 const KeyCode& rKeyCode = rKEvt.GetKeyCode(); in KeyInput() local
1012 if( pAnyRefDlg && !rKeyCode.GetModifier() && (rKeyCode.GetCode() == KEY_F2) ) in KeyInput()
1095 const KeyCode& rKeyCode = rKEvt.GetKeyCode(); in KeyInput() local
1096 if( pAnyRefDlg && !rKeyCode.GetModifier() && (rKeyCode.GetCode() == KEY_F2) ) in KeyInput()
/trunk/main/svtools/source/toolpanel/
H A Dtoolpaneldeck.cxx475 const KeyCode& rKeyCode = pEvent->GetKeyCode(); in Notify() local
476 if ( rKeyCode.GetModifier() == KEY_MOD1 ) in Notify()
479 switch ( rKeyCode.GetCode() ) in Notify()
498 else if ( rKeyCode.GetModifier() == ( KEY_MOD1 | KEY_SHIFT ) ) in Notify()
500 if ( rKeyCode.GetCode() == KEY_E ) in Notify()
H A Ddrawerlayouter.cxx269 const KeyCode& rKeyCode( pKeyEvent->GetKeyCode() ); in IMPL_LINK() local
270 if ( ( rKeyCode.GetModifier() == 0 ) && ( rKeyCode.GetCode() == KEY_RETURN ) ) in IMPL_LINK()
/trunk/main/sd/source/ui/annotations/
H A Dannotationwindow.cxx158 const KeyCode& rKeyCode = rKeyEvt.GetKeyCode(); in KeyInput() local
159 sal_uInt16 nKey = rKeyCode.GetCode(); in KeyInput()
161 if ((rKeyCode.IsMod1() && rKeyCode.IsMod2()) && ((nKey == KEY_PAGEUP) || (nKey == KEY_PAGEDOWN))) in KeyInput()
169 if (!rKeyCode.IsMod1() && !rKeyCode.IsMod2()) in KeyInput()
178 if ( !( (nKey == KEY_Z || nKey == KEY_Y) && rKeyCode.IsMod1()) ) in KeyInput()
/trunk/main/framework/source/uielement/
H A Dedittoolbarcontroller.cxx228 const KeyCode& rKeyCode = pKeyEvent->GetKeyCode(); in PreNotify() local
229 if(( rKeyCode.GetModifier() | rKeyCode.GetCode()) == KEY_RETURN ) in PreNotify()
233 execute( rKeyCode.GetModifier() ); in PreNotify()
H A Dcomboboxtoolbarcontroller.cxx265 const KeyCode& rKeyCode = pKeyEvent->GetKeyCode(); in PreNotify() local
266 if(( rKeyCode.GetModifier() | rKeyCode.GetCode()) == KEY_RETURN ) in PreNotify()
270 execute( rKeyCode.GetModifier() ); in PreNotify()
H A Dspinfieldtoolbarcontroller.cxx350 const KeyCode& rKeyCode = pKeyEvent->GetKeyCode(); in PreNotify() local
351 if(( rKeyCode.GetModifier() | rKeyCode.GetCode()) == KEY_RETURN ) in PreNotify()
355 execute( rKeyCode.GetModifier() ); in PreNotify()
/trunk/main/reportdesign/source/ui/dlg/
H A DCondFormat.cxx516 const KeyCode& rKeyCode = pKeyEvent->GetKeyCode(); in PreNotify() local
517 if ( rKeyCode.IsMod1() && rKeyCode.IsMod2() ) in PreNotify()
519 if ( rKeyCode.GetCode() == 0x0508 ) // - in PreNotify()
524 if ( rKeyCode.GetCode() == 0x0507 ) // + in PreNotify()
/trunk/main/chart2/source/controller/dialogs/
H A DRangeEdit.cxx52 const KeyCode& rKeyCode = rKEvt.GetKeyCode(); in KeyInput() local
53 if( !rKeyCode.GetModifier() && rKeyCode.GetCode() == KEY_F2 ) in KeyInput()
/trunk/main/sfx2/source/appl/
H A Dnewhelp.cxx1836 const KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode(); in PreNotify() local
1837 sal_uInt16 nCode = rKeyCode.GetCode(); in PreNotify()
1845 sal_Bool bShift = rKeyCode.IsShift(); in PreNotify()
1846 sal_Bool bCtrl = rKeyCode.IsMod1(); in PreNotify()
2659 const KeyCode& rKeyCode = pKEvt->GetKeyCode(); in PreNotify() local
2660 sal_uInt16 nKeyGroup = rKeyCode.GetGroup(); in PreNotify()
2661 sal_uInt16 nKey = rKeyCode.GetCode(); in PreNotify()
2662 if ( KEYGROUP_ALPHA == nKeyGroup && !isHandledKey( rKeyCode ) ) in PreNotify()
2667 else if ( rKeyCode.IsMod1() && ( KEY_F4 == nKey || KEY_W == nKey ) ) in PreNotify()
3264 const KeyCode& rKeyCode = rNEvt.GetKeyEvent()->GetKeyCode(); in PreNotify() local
[all …]
/trunk/main/framework/source/services/
H A Dbackingwindow.cxx708 const KeyCode& rKeyCode(pEvt->GetKeyCode()); in Notify() local
709 if( pEvt && mpAccExec->execute(rKeyCode) ) in Notify()
712 if( rKeyCode.GetModifier() == 0 ) in Notify()
714 if( rKeyCode.GetCode() == KEY_RIGHT ) in Notify()
726 else if( rKeyCode.GetCode() == KEY_LEFT ) in Notify()
738 else if( rKeyCode.GetCode() == KEY_UP ) in Notify()
756 else if( rKeyCode.GetCode() == KEY_DOWN ) in Notify()
/trunk/main/svtools/source/table/
H A Ddefaultinputhandler.cxx148 const KeyCode& rKeyCode = rKEvt.GetKeyCode(); in KeyInput() local
149 sal_uInt16 nKeyCode = rKeyCode.GetCode(); in KeyInput()
182 …if ( ( pActions->nKeyCode == nKeyCode ) && ( pActions->nKeyModifier == rKeyCode.GetAllModifier() )… in KeyInput()
/trunk/main/cui/source/dialogs/
H A Dcolorpicker.cxx319 const KeyCode& rKeyCode = rKEv.GetKeyCode(); in ImplProcessKeyInput() local
321 if( rKeyCode.GetGroup() == KEYGROUP_ALPHA && !rKeyCode.IsMod1() && !rKeyCode.IsMod2() ) in ImplProcessKeyInput()
323 if( (rKeyCode.GetCode() < KEY_A) || (rKeyCode.GetCode() > KEY_F) ) in ImplProcessKeyInput()
329 else if( rKeyCode.GetGroup() == KEYGROUP_NUM ) in ImplProcessKeyInput()
331 if( rKeyCode.IsShift() ) in ImplProcessKeyInput()
/trunk/main/dbaccess/source/ui/browser/
H A Dbrwview.cxx355 const KeyCode& rKeyCode = pKeyEvt->GetKeyCode(); in PreNotify() local
356 if ( ( rKeyCode == KeyCode( KEY_E, sal_True, sal_True, sal_False, sal_False ) ) in PreNotify()
357 || ( rKeyCode == KeyCode( KEY_TAB, sal_True, sal_False, sal_False, sal_False ) ) in PreNotify()
/trunk/main/svtools/source/brwbox/
H A Debbcontrols.cxx597 const KeyCode& rKeyCode = pKeyEvent->GetKeyCode(); in PreNotify() local
598 sal_uInt16 nCode = rKeyCode.GetCode(); in PreNotify()
600 if ( ( nCode == KEY_RETURN ) && ( rKeyCode.GetModifier() == KEY_MOD1 ) ) in PreNotify()
/trunk/main/sfx2/source/sidebar/
H A DFocusManager.cxx475 const KeyCode& rKeyCode, in HandleKeyEvent() argument
481 switch (rKeyCode.GetCode()) in HandleKeyEvent()
526 rKeyCode.IsShift() in HandleKeyEvent()

Completed in 127 milliseconds

123