Changeset 97384 in vbox
- Timestamp:
- Nov 3, 2022 1:54:17 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 154384
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialog.h
r97383 r97384 68 68 public: 69 69 70 /** Dialog types. */ 71 enum DialogType { DialogType_Global, DialogType_Machine }; 72 70 73 /** Constructs settings dialog passing @a pParent to the base-class. */ 71 74 UISettingsDialog(QWidget *pParent); 72 75 /** Destructs settings dialog. */ 73 76 virtual ~UISettingsDialog() RT_OVERRIDE; 77 78 /** Returns dialog type. */ 79 virtual DialogType dialogType() const = 0; 74 80 75 81 /** Performs modal dialog call. */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.h
r97383 r97384 61 61 const QString &strControl = QString()); 62 62 63 /** Returns dialog type. */ 64 virtual DialogType dialogType() const { return DialogType_Global; } 65 63 66 protected: 64 67 … … 108 111 UISettingsDialogMachine(QWidget *pParent, const QUuid &uMachineId, 109 112 const QString &strCategory, const QString &strControl, UIActionPool *pActionPool); 113 114 /** Returns dialog type. */ 115 virtual DialogType dialogType() const { return DialogType_Machine; } 110 116 111 117 protected:
Note:
See TracChangeset
for help on using the changeset viewer.