- Timestamp:
- Sep 27, 2023 6:23:32 AM (18 months ago)
- svn:sync-xref-src-repo-rev:
- 159260
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIGuestOSTypeII.cpp
r101272 r101277 35 35 m_guestOSFamilies.clear(); 36 36 //m_guestOSTypesPerFamily.clear(); 37 Q List<CGuestOSType> otherOSTypes;37 QVector<CGuestOSType> otherOSTypes; 38 38 foreach (const CGuestOSType &comType, guestOSTypes) 39 39 { -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIGuestOSTypeII.h
r101272 r101277 33 33 34 34 /* Qt includes: */ 35 #include <Q List>35 #include <QVector> 36 36 #include <QMap> 37 37 #include <QString> … … 50 50 public: 51 51 52 typedef Q List<QPair<QString, QString> > UIGuestOSTypeFamilyInfo;53 typedef Q List<QPair<QString, QString> > UIGuestOSTypeInfo;52 typedef QVector<QPair<QString, QString> > UIGuestOSTypeFamilyInfo; 53 typedef QVector<QPair<QString, QString> > UIGuestOSTypeInfo; 54 54 55 55 void reCacheGuestOSTypes(const CGuestOSTypeVector &guestOSTypes); … … 77 77 void addGuestOSType(const CGuestOSType &comType); 78 78 79 Q List<UIGuestOSTypeII> m_guestOSTypes;79 QVector<UIGuestOSTypeII> m_guestOSTypes; 80 80 /* First item of the pair is family id and the 2nd is family description. */ 81 81 UIGuestOSTypeInfo m_guestOSFamilies; -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.h
r101272 r101277 54 54 Q_OBJECT; 55 55 Q_PROPERTY(QString name READ name WRITE setName); 56 57 /** Simple struct representing CGuestOSType cache. */58 struct UIGuestOSType59 {60 QString typeId;61 QString typeDescription;62 bool is64bit;63 };64 56 65 57 signals: … … 198 190 /** @name Values 199 191 * @{ */ 200 /** Holds the current type cache. */201 QMap<QString, QList<UIGuestOSType> > m_types;202 203 192 /** Holds the VM OS type ID. */ 204 193 QString m_strTypeId;
Note:
See TracChangeset
for help on using the changeset viewer.