Changeset 83162 in vbox
- Timestamp:
- Feb 26, 2020 2:39:39 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.cpp
r83161 r83162 35 35 , m_strName(strName) 36 36 , m_fAccessible(true) 37 , m_enmMachineState(KMachineState_PoweredOff) 37 38 , m_strOsType("Other") 38 39 , m_iMemorySize(0) … … 48 49 , m_strName(other.m_strName) 49 50 , m_fAccessible(other.m_fAccessible) 51 , m_enmMachineState(other.m_enmMachineState) 50 52 , m_strOsType(other.m_strOsType) 51 53 , m_iMemorySize(other.m_iMemorySize) … … 69 71 m_iMemorySize = fetchMemorySize(infoMap); 70 72 m_iCpuCount = fetchCpuCount(infoMap); 73 m_enmMachineState = fetchMachineState(infoMap); 71 74 } 72 75 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.h
r83161 r83162 64 64 bool isAccessible() const { return m_fAccessible; } 65 65 66 /** Returns cloud VM state. */ 67 KMachineState machineState() const { return m_enmMachineState; } 68 66 69 /** Returns cloud VM OS type. */ 67 70 QString osType() const { return m_strOsType; } … … 83 86 /** Holds whether cloud VM is accessible. */ 84 87 bool m_fAccessible; 88 89 /** Holds the cloud VM state. */ 90 KMachineState m_enmMachineState; 85 91 86 92 /** Holds the cloud VM OS type. */ … … 129 135 bool isAccessible() const { return d->isAccessible(); } 130 136 137 /** Returns cloud VM state. */ 138 KMachineState machineState() { return d->machineState(); } 139 131 140 /** Returns cloud VM OS type. */ 132 141 QString osType() const { return d->osType(); }
Note:
See TracChangeset
for help on using the changeset viewer.