VirtualBox

Changeset 79520 in vbox


Ignore:
Timestamp:
Jul 4, 2019 9:21:00 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131803
Message:

FE/Qt: bugref:6143. Renaming some enum elements

Location:
trunk/src/VBox/Frontends/VirtualBox
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp

    r79516 r79520  
    8181    /** Can be in UIKeyState_NotPressed and UIKeyState_Pressed states. */
    8282    UIKeyType_Ordinary,
    83     /** e.g. CapsLock. Can be only in UIKeyState_NotPressed, UIKeyState_Locked */
    84     UIKeyType_Toggleable,
     83    /** e.g. CapsLock, NumLock. Can be only in UIKeyState_NotPressed, UIKeyState_Locked */
     84    UIKeyType_Lock,
    8585    /** e.g. Shift Can be in all 3 states*/
    8686    UIKeyType_Modifier,
     
    15411541        }
    15421542    }
    1543     else if (m_enmType == UIKeyType_Toggleable)
     1543    else if (m_enmType == UIKeyType_Lock)
    15441544    {
    15451545        if (fPressed)
     
    28402840            if (strType == "modifier")
    28412841                key.setType(UIKeyType_Modifier);
    2842             else if (strType == "toggleable")
    2843                 key.setType(UIKeyType_Toggleable);
     2842            else if (strType == "lock")
     2843                key.setType(UIKeyType_Lock);
    28442844        }
    28452845        else if (m_xmlReader.name() == "osmenukey")
  • trunk/src/VBox/Frontends/VirtualBox/xml/101_ansi.xml

    r79356 r79520  
    256256            <width>100</width>
    257257
    258             <type>toggleable</type>
     258            <type>lock</type>
    259259            <position>30</position>
    260260            <scancode>0x3a</scancode>
  • trunk/src/VBox/Frontends/VirtualBox/xml/102_iso.xml

    r79508 r79520  
    260260            <width>100</width>
    261261
    262             <type>toggleable</type>
     262            <type>lock</type>
    263263            <position>30</position>
    264264            <scancode>0x3a</scancode>
  • trunk/src/VBox/Frontends/VirtualBox/xml/103_iso.xml

    r79508 r79520  
    258258        <key>
    259259            <width>100</width>
    260 
    261             <type>toggleable</type>
     260            <type>lock</type>
    262261            <position>30</position>
    263262            <scancode>0x3a</scancode>
  • trunk/src/VBox/Frontends/VirtualBox/xml/106_japanese.xml

    r79517 r79520  
    263263        <key>
    264264            <width>100</width>
    265             <type>toggleable</type>
     265            <type>lock</type>
    266266            <position>30</position>
    267267            <scancode>0x3a</scancode>
  • trunk/src/VBox/Frontends/VirtualBox/xml/numpad.xml

    r79517 r79520  
    77        <key>
    88            <position>90</position>
    9             <type>toggleable</type>
     9            <type>lock</type>
    1010            <scancode>0x45</scancode>
    1111        </key>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette