Changeset 102924 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 17, 2024 1:38:47 PM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIStorageSettingsEditor.cpp
r102923 r102924 233 233 QUuid id() const; 234 234 235 /** Returns machine ID. */236 QUuid machineId() const;237 /** Defines @a uMachineId. */238 void setMachineId(const QUuid &uMachineId);239 240 235 /** Returns runtime type information. */ 241 236 virtual ItemType rtti() const = 0; … … 266 261 /** Holds the item ID. */ 267 262 QUuid m_uId; 268 /** Holds the item machine ID. */269 QUuid m_uMachineId;270 263 }; 271 264 Q_DECLARE_METATYPE(AbstractItem::ItemType); … … 721 714 /** Returns device type of attachment with certain @a uAttId from controller with certain @a uCtrId. */ 722 715 KDeviceType attachmentDeviceType(const QUuid &uCtrId, const QUuid &uAttId) const; 723 724 /** Defines @a uMachineId for reference. */725 void setMachineId(const QUuid &uMachineId);726 716 727 717 /** Sorts the contents of model by @a iColumn and @a enmOrder. */ … … 1079 1069 } 1080 1070 1081 QUuid AbstractItem::machineId() const1082 {1083 return m_uMachineId;1084 }1085 1086 void AbstractItem::setMachineId(const QUuid &uMachineId)1087 {1088 m_uMachineId = uMachineId;1089 }1090 1091 1071 1092 1072 /********************************************************************************************************************************* … … 2604 2584 /* Null by default: */ 2605 2585 return KDeviceType_Null; 2606 }2607 2608 void StorageModel::setMachineId(const QUuid &uMachineId)2609 {2610 m_pRootItem->setMachineId(uMachineId);2611 2586 } 2612 2587 … … 3048 3023 { 3049 3024 m_uMachineId = uMachineId; 3050 if (m_pModelStorage)3051 m_pModelStorage->setMachineId(uMachineId);3052 3025 } 3053 3026
Note:
See TracChangeset
for help on using the changeset viewer.