Changeset 75217 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 1, 2018 4:51:14 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp
r75079 r75217 1518 1518 } 1519 1519 1520 void UIApplianceModel::setVsdHints(const QList<AbstractVSDParameter>&hints)1520 void UIApplianceModel::setVsdHints(const AbstractVSDParameterList &hints) 1521 1521 { 1522 1522 m_listVsdHints = hints; … … 1842 1842 } 1843 1843 1844 void UIApplianceEditorWidget::setVsdHints(const QList<AbstractVSDParameter>&hints)1844 void UIApplianceEditorWidget::setVsdHints(const AbstractVSDParameterList &hints) 1845 1845 { 1846 1846 /* Save here as well: */ -
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.h
r75046 r75217 125 125 }; 126 126 127 /** Abstract VSD parameter list. */ 128 typedef QList<AbstractVSDParameter> AbstractVSDParameterList; 129 Q_DECLARE_METATYPE(AbstractVSDParameterList); 130 127 131 128 132 /** Appliance tree-view section types. */ … … 191 195 192 196 /** Defines the list of VSD @a hints. */ 193 void setVsdHints(const QList<AbstractVSDParameter>&hints);197 void setVsdHints(const AbstractVSDParameterList &hints); 194 198 /** Returns a name hint for certain VSD @a enmType. */ 195 199 QString nameHint(KVirtualSystemDescriptionType enmType) const; … … 202 206 203 207 /** Holds the list of VSD hints. */ 204 QList<AbstractVSDParameter>m_listVsdHints;208 AbstractVSDParameterList m_listVsdHints; 205 209 206 210 /** Holds the root item reference. */ … … 288 292 289 293 /** Defines the list of VSD @a hints. */ 290 void setVsdHints(const QList<AbstractVSDParameter>&hints);294 void setVsdHints(const AbstractVSDParameterList &hints); 291 295 292 296 /** Returns whether the Appliance Editor has valid state. */ … … 317 321 318 322 /** Holds the list of VSD hints. */ 319 QList<AbstractVSDParameter>m_listVsdHints;323 AbstractVSDParameterList m_listVsdHints; 320 324 321 325 /** Holds the currently set appliance reference. */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.cpp
r75056 r75217 79 79 80 80 /* static */ 81 QList<AbstractVSDParameter>UIWizardExportAppPage3::parseJsonDocument(const QJsonDocument &document)81 AbstractVSDParameterList UIWizardExportAppPage3::parseJsonDocument(const QJsonDocument &document) 82 82 { 83 83 /* Prepare parameters: */ 84 QList<AbstractVSDParameter>parameters;84 AbstractVSDParameterList parameters; 85 85 86 86 /* Convert document to object, make sure it isn't empty: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic3.h
r75046 r75217 47 47 48 48 /** Parses JSON @a document. */ 49 static QList<AbstractVSDParameter>parseJsonDocument(const QJsonDocument &document);49 static AbstractVSDParameterList parseJsonDocument(const QJsonDocument &document); 50 50 /** Parses JSON bool @a field. */ 51 51 static bool parseJsonFieldBool(const QString &strFieldName, const QJsonValue &field); … … 64 64 65 65 /** Holds the cloud client parameters. */ 66 QList<AbstractVSDParameter>m_listCloudClientParameters;66 AbstractVSDParameterList m_listCloudClientParameters; 67 67 68 68 /** Holds the appliance widget reference. */
Note:
See TracChangeset
for help on using the changeset viewer.