Changeset 89999 in vbox for trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.h
- Timestamp:
- Jul 2, 2021 11:34:16 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145476
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.h
r86345 r89999 5 5 6 6 /* 7 * Copyright (C) 2009-202 0Oracle Corporation7 * Copyright (C) 2009-2021 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 23 23 24 24 /* GUI includes: */ 25 #include "UI Wizard.h"25 #include "UINativeWizard.h" 26 26 27 27 /* COM includes: */ 28 28 #include "COMEnums.h" 29 29 #include "CCloudClient.h" 30 #include "CCloudMachine.h"31 30 32 31 /** Add Cloud VM wizard. */ 33 class UIWizardAddCloudVM : public UI Wizard32 class UIWizardAddCloudVM : public UINativeWizard 34 33 { 35 34 Q_OBJECT; 36 35 37 36 public: 38 39 /** Basic page IDs. */40 enum41 {42 Page143 };44 45 /** Expert page IDs. */46 enum47 {48 PageExpert49 };50 37 51 38 /** Constructs Add Cloud VM wizard passing @a pParent & @a enmMode to the base-class. … … 55 42 WizardMode enmMode = WizardMode_Auto); 56 43 57 /** Prepares all. */58 virtual void prepare() /* override */;59 60 44 /** Returns full group name. */ 61 45 QString fullGroupName() const { return m_strFullGroupName; } 46 47 /** Defines @a strShortProviderName. */ 48 void setShortProviderName(const QString &strShortProviderName) { m_strShortProviderName = strShortProviderName; } 49 /** Returns short provider name. */ 50 QString shortProviderName() const { return m_strShortProviderName; } 51 52 /** Defines @a strProfileName. */ 53 void setProfileName(const QString &strProfileName) { m_strProfileName = strProfileName; } 54 /** Returns profile name. */ 55 QString profileName() const { return m_strProfileName; } 56 57 /** Defines @a instanceIds. */ 58 void setInstanceIds(const QStringList &instanceIds) { m_instanceIds = instanceIds; } 59 /** Returns instance IDs. */ 60 QStringList instanceIds() const { return m_instanceIds; } 62 61 63 62 /** Defines Cloud @a comClient object wrapper. */ … … 71 70 protected: 72 71 72 /** Populates pages. */ 73 virtual void populatePages() /* override final */; 74 73 75 /** Handles translation event. */ 74 virtual void retranslateUi() /* override */;76 virtual void retranslateUi() /* override final */; 75 77 76 78 private: 77 79 78 80 /** Holds the full group name (/provider/profile) to add VM to. */ 79 QString m_strFullGroupName; 80 81 QString m_strFullGroupName; 82 /** Holds the short provider name. */ 83 QString m_strShortProviderName; 84 /** Holds the profile name. */ 85 QString m_strProfileName; 86 /** Holds the instance ids. */ 87 QStringList m_instanceIds; 81 88 /** Holds the Cloud Client object wrapper. */ 82 89 CCloudClient m_comClient;
Note:
See TracChangeset
for help on using the changeset viewer.