Changeset 83203 in vbox
- Timestamp:
- Mar 4, 2020 4:37:11 PM (5 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.cpp
r83190 r83203 39 39 , m_iMemorySize(0) 40 40 , m_iCpuCount(0) 41 //, m_strInstanceShape("None")42 //, m_strDomain("None")43 //, m_strBootingFirmware("None")44 //, m_strImageId(QString())45 41 { 46 42 //printf("Data for machine with id = {%s} is created\n", m_strId.toUtf8().constData()); … … 57 53 , m_iMemorySize(other.m_iMemorySize) 58 54 , m_iCpuCount(other.m_iCpuCount) 59 , m_str InstanceShape(other.m_strInstanceShape)55 , m_strShape(other.m_strShape) 60 56 , m_strDomain(other.m_strDomain) 61 57 , m_strBootingFirmware(other.m_strBootingFirmware) … … 80 76 m_iCpuCount = fetchCpuCount(instanceInfoMap); 81 77 m_enmMachineState = fetchMachineState(instanceInfoMap); 82 m_str InstanceShape = fetchShape(instanceInfoMap);78 m_strShape = fetchShape(instanceInfoMap); 83 79 m_strDomain = fetchDomain(instanceInfoMap); 84 80 m_strBootingFirmware = fetchBootingFirmware(instanceInfoMap); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudMachine.h
r83190 r83203 73 73 /** Returns cloud VM CPU count. */ 74 74 int cpuCount() const { return m_iCpuCount; } 75 /** Returns cloud VM instanceshape. */76 QString instanceShape() const { return m_strInstanceShape; }75 /** Returns cloud VM shape. */ 76 QString shape() const { return m_strShape; } 77 77 /** Returns cloud VM domain. */ 78 78 QString domain() const { return m_strDomain; } … … 108 108 /** Holds the cloud VM CPU count. */ 109 109 int m_iCpuCount; 110 /** Holds the cloud VM instanceshape. */111 QString m_str InstanceShape;110 /** Holds the cloud VM shape. */ 111 QString m_strShape; 112 112 /** Holds the cloud VM domain. */ 113 113 QString m_strDomain; … … 168 168 /** Returns cloud VM CPU count. */ 169 169 int cpuCount() const { return d->cpuCount(); } 170 /** Returns cloud VM instanceshape. */171 QString instanceShape() const { return d->instanceShape(); }170 /** Returns cloud VM shape. */ 171 QString shape() const { return d->shape(); } 172 172 /** Returns cloud VM domain. */ 173 173 QString domain() const { return d->domain(); } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudNetworkingStuff.cpp
r83190 r83203 263 263 QString UICloudNetworkingStuff::fetchShape(const QMap<KVirtualSystemDescriptionType, QString> &infoMap) 264 264 { 265 /* Return instanceshape value: */265 /* Return shape value: */ 266 266 return infoMap.value(KVirtualSystemDescriptionType_CloudInstanceShape); 267 267 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIDetailsGenerator.cpp
r83202 r83203 298 298 } 299 299 300 /* InstanceShape: */301 { 302 const QString strShape = guiCloudMachine. instanceShape();300 /* Shape: */ 301 { 302 const QString strShape = guiCloudMachine.shape(); 303 303 const QString strResult = !strShape.isEmpty() 304 304 ? strShape
Note:
See TracChangeset
for help on using the changeset viewer.