- Timestamp:
- Jul 28, 2021 3:41:48 PM (3 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 16 edited
-
globals/UICommon.cpp (modified) (1 diff)
-
globals/UICommon.h (modified) (1 diff)
-
manager/chooser/UIChooserModel.cpp (modified) (2 diffs)
-
manager/chooser/UIChooserModel.h (modified) (1 diff)
-
notificationcenter/UINotificationObjects.cpp (modified) (8 diffs)
-
notificationcenter/UINotificationObjects.h (modified) (9 diffs)
-
wizards/addcloudvm/UIWizardAddCloudVM.h (modified) (2 diffs)
-
wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp (modified) (1 diff)
-
wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.h (modified) (1 diff)
-
wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp (modified) (1 diff)
-
wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVM.h (modified) (2 diffs)
-
wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.h (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp (modified) (1 diff)
-
wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r90370 r90375 4157 4157 } 4158 4158 4159 void UICommon::sltHandleCloudMachineAdded(const QString &str ShortProviderName,4159 void UICommon::sltHandleCloudMachineAdded(const QString &strProviderShortName, 4160 4160 const QString &strProfileName, 4161 4161 const CCloudMachine &comMachine) 4162 4162 { 4163 4163 /* Make sure we cached added cloud VM in GUI: */ 4164 notifyCloudMachineRegistered(str ShortProviderName,4164 notifyCloudMachineRegistered(strProviderShortName, 4165 4165 strProfileName, 4166 4166 comMachine); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.h
r90352 r90375 748 748 * @{ */ 749 749 /** Handles signal about cloud machine was added. */ 750 void sltHandleCloudMachineAdded(const QString &str ShortProviderName,750 void sltHandleCloudMachineAdded(const QString &strProviderShortName, 751 751 const QString &strProfileName, 752 752 const CCloudMachine &comMachine); -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.cpp
r90373 r90375 1341 1341 } 1342 1342 1343 void UIChooserModel::sltHandleCloudMachineRemoved(const QString &str ShortProviderName,1343 void UIChooserModel::sltHandleCloudMachineRemoved(const QString &strProviderShortName, 1344 1344 const QString &strProfileName, 1345 1345 const QString &strName) … … 1348 1348 1349 1349 /* Update profile to make sure it has no stale instances: */ 1350 const UICloudEntityKey cloudEntityKeyForProfile = UICloudEntityKey(str ShortProviderName, strProfileName);1350 const UICloudEntityKey cloudEntityKeyForProfile = UICloudEntityKey(strProviderShortName, strProfileName); 1351 1351 createReadCloudMachineListTask(cloudEntityKeyForProfile, false /* with refresh? */); 1352 1352 } -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserModel.h
r90373 r90375 342 342 * @{ */ 343 343 /** Handles cloud machine removal. 344 * @param str ShortProviderName Brigns the provider short name.344 * @param strProviderShortName Brigns the provider short name. 345 345 * @param strProfileName Brings the profile name. 346 346 * @param strName Brings the machine name. */ 347 void sltHandleCloudMachineRemoved(const QString &str ShortProviderName,347 void sltHandleCloudMachineRemoved(const QString &strProviderShortName, 348 348 const QString &strProfileName, 349 349 const QString &strName); -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp
r90374 r90375 224 224 const CCloudMachine &comMachine, 225 225 const QString &strInstanceName, 226 const QString &str ShortProviderName,226 const QString &strProviderShortName, 227 227 const QString &strProfileName) 228 228 : m_comClient(comClient) 229 229 , m_comMachine(comMachine) 230 230 , m_strInstanceName(strInstanceName) 231 , m_str ShortProviderName(strShortProviderName)231 , m_strProviderShortName(strProviderShortName) 232 232 , m_strProfileName(strProfileName) 233 233 { … … 244 244 { 245 245 return UINotificationProgress::tr("<b>Provider:</b> %1<br><b>Profile:</b> %2<br><b>Instance Name:</b> %3") 246 .arg(m_str ShortProviderName, m_strProfileName, m_strInstanceName);246 .arg(m_strProviderShortName, m_strProfileName, m_strInstanceName); 247 247 } 248 248 … … 260 260 { 261 261 if (m_comMachine.isNotNull() && !m_comMachine.GetId().isNull()) 262 emit sigCloudMachineAdded(m_str ShortProviderName, m_strProfileName, m_comMachine);262 emit sigCloudMachineAdded(m_strProviderShortName, m_strProfileName, m_comMachine); 263 263 } 264 264 … … 271 271 const CCloudMachine &comMachine, 272 272 const CVirtualSystemDescription &comVSD, 273 const QString &str ShortProviderName,273 const QString &strProviderShortName, 274 274 const QString &strProfileName) 275 275 : m_comClient(comClient) 276 276 , m_comMachine(comMachine) 277 277 , m_comVSD(comVSD) 278 , m_str ShortProviderName(strShortProviderName)278 , m_strProviderShortName(strProviderShortName) 279 279 , m_strProfileName(strProfileName) 280 280 { … … 300 300 { 301 301 return UINotificationProgress::tr("<b>Provider:</b> %1<br><b>Profile:</b> %2<br><b>Name:</b> %3") 302 .arg(m_str ShortProviderName, m_strProfileName, m_strName);302 .arg(m_strProviderShortName, m_strProfileName, m_strName); 303 303 } 304 304 … … 316 316 { 317 317 if (m_comMachine.isNotNull() && !m_comMachine.GetId().isNull()) 318 emit sigCloudMachineCreated(m_str ShortProviderName, m_strProfileName, m_comMachine);318 emit sigCloudMachineCreated(m_strProviderShortName, m_strProfileName, m_comMachine); 319 319 } 320 320 … … 326 326 UINotificationProgressCloudMachineRemove::UINotificationProgressCloudMachineRemove(const CCloudMachine &comMachine, 327 327 bool fFullRemoval, 328 const QString &str ShortProviderName,328 const QString &strProviderShortName, 329 329 const QString &strProfileName) 330 330 : m_comMachine(comMachine) 331 331 , m_fFullRemoval(fFullRemoval) 332 , m_str ShortProviderName(strShortProviderName)332 , m_strProviderShortName(strProviderShortName) 333 333 , m_strProfileName(strProfileName) 334 334 { … … 368 368 { 369 369 if (error().isEmpty()) 370 emit sigCloudMachineRemoved(m_str ShortProviderName, m_strProfileName, m_strName);370 emit sigCloudMachineRemoved(m_strProviderShortName, m_strProfileName, m_strName); 371 371 } 372 372 -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h
r90374 r90375 244 244 245 245 /** Notifies listeners about cloud @a comMachine was added. 246 * @param str ShortProviderName Brigns the short provider name.246 * @param strProviderShortName Brigns the short provider name. 247 247 * @param strProfileName Brings the profile name. */ 248 void sigCloudMachineAdded(const QString &str ShortProviderName,248 void sigCloudMachineAdded(const QString &strProviderShortName, 249 249 const QString &strProfileName, 250 250 const CCloudMachine &comMachine); … … 256 256 * @param comMachine Brings the cloud machine being added. 257 257 * @param strInstanceName Brings the instance name. 258 * @param str ShortProviderName Brings the short provider name.258 * @param strProviderShortName Brings the short provider name. 259 259 * @param strProfileName Brings the profile name. */ 260 260 UINotificationProgressCloudMachineAdd(const CCloudClient &comClient, 261 261 const CCloudMachine &comMachine, 262 262 const QString &strInstanceName, 263 const QString &str ShortProviderName,263 const QString &strProviderShortName, 264 264 const QString &strProfileName); 265 265 … … 287 287 QString m_strInstanceName; 288 288 /** Holds the short provider name. */ 289 QString m_str ShortProviderName;289 QString m_strProviderShortName; 290 290 /** Holds the profile name. */ 291 291 QString m_strProfileName; … … 300 300 301 301 /** Notifies listeners about cloud @a comMachine was created. 302 * @param str ShortProviderName Brigns the short provider name.302 * @param strProviderShortName Brigns the short provider name. 303 303 * @param strProfileName Brings the profile name. */ 304 void sigCloudMachineCreated(const QString &str ShortProviderName,304 void sigCloudMachineCreated(const QString &strProviderShortName, 305 305 const QString &strProfileName, 306 306 const CCloudMachine &comMachine); … … 312 312 * @param comMachine Brings the cloud machine being added. 313 313 * @param comVSD Brings the virtual system description. 314 * @param str ShortProviderName Brings the short provider name.314 * @param strProviderShortName Brings the short provider name. 315 315 * @param strProfileName Brings the profile name. */ 316 316 UINotificationProgressCloudMachineCreate(const CCloudClient &comClient, 317 317 const CCloudMachine &comMachine, 318 318 const CVirtualSystemDescription &comVSD, 319 const QString &str ShortProviderName,319 const QString &strProviderShortName, 320 320 const QString &strProfileName); 321 321 … … 345 345 QString m_strName; 346 346 /** Holds the short provider name. */ 347 QString m_str ShortProviderName;347 QString m_strProviderShortName; 348 348 /** Holds the profile name. */ 349 349 QString m_strProfileName; … … 358 358 359 359 /** Notifies listeners about cloud machine was removed. 360 * @param str ShortProviderName Brigns the short provider name.360 * @param strProviderShortName Brigns the short provider name. 361 361 * @param strProfileName Brings the profile name. 362 362 * @param strName Brings the machine name. */ 363 void sigCloudMachineRemoved(const QString &str ShortProviderName,363 void sigCloudMachineRemoved(const QString &strProviderShortName, 364 364 const QString &strProfileName, 365 365 const QString &strName); … … 372 372 UINotificationProgressCloudMachineRemove(const CCloudMachine &comMachine, 373 373 bool fFullRemoval, 374 const QString &str ShortProviderName,374 const QString &strProviderShortName, 375 375 const QString &strProfileName); 376 376 … … 398 398 bool m_fFullRemoval; 399 399 /** Holds the short provider name. */ 400 QString m_str ShortProviderName;400 QString m_strProviderShortName; 401 401 /** Holds the profile name. */ 402 402 QString m_strProfileName; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVM.h
r89999 r90375 45 45 QString fullGroupName() const { return m_strFullGroupName; } 46 46 47 /** Defines @a str ShortProviderName. */48 void setShortProviderName(const QString &str ShortProviderName) { m_strShortProviderName = strShortProviderName; }47 /** Defines @a strProviderShortName. */ 48 void setShortProviderName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; } 49 49 /** Returns short provider name. */ 50 QString shortProviderName() const { return m_str ShortProviderName; }50 QString shortProviderName() const { return m_strProviderShortName; } 51 51 52 52 /** Defines @a strProfileName. */ … … 81 81 QString m_strFullGroupName; 82 82 /** Holds the short provider name. */ 83 QString m_str ShortProviderName;83 QString m_strProviderShortName; 84 84 /** Holds the profile name. */ 85 85 QString m_strProfileName; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.cpp
r89999 r90375 481 481 } 482 482 483 void UIWizardAddCloudVMPageBasic1::setShortProviderName(const QString &str ShortProviderName)484 { 485 qobject_cast<UIWizardAddCloudVM*>(wizard())->setShortProviderName(str ShortProviderName);483 void UIWizardAddCloudVMPageBasic1::setShortProviderName(const QString &strProviderShortName) 484 { 485 qobject_cast<UIWizardAddCloudVM*>(wizard())->setShortProviderName(strProviderShortName); 486 486 } 487 487 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageBasic1.h
r89999 r90375 108 108 109 109 /** Defines short provider name. */ 110 void setShortProviderName(const QString &str ShortProviderName);110 void setShortProviderName(const QString &strProviderShortName); 111 111 /** Returns profile name. */ 112 112 QString shortProviderName() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.cpp
r89999 r90375 225 225 } 226 226 227 void UIWizardAddCloudVMPageExpert::setShortProviderName(const QString &str ShortProviderName)228 { 229 qobject_cast<UIWizardAddCloudVM*>(wizard())->setShortProviderName(str ShortProviderName);227 void UIWizardAddCloudVMPageExpert::setShortProviderName(const QString &strProviderShortName) 228 { 229 qobject_cast<UIWizardAddCloudVM*>(wizard())->setShortProviderName(strProviderShortName); 230 230 } 231 231 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/addcloudvm/UIWizardAddCloudVMPageExpert.h
r89999 r90375 69 69 70 70 /** Defines short provider name. */ 71 void setShortProviderName(const QString &str ShortProviderName);71 void setShortProviderName(const QString &strProviderShortName); 72 72 /** Returns profile name. */ 73 73 QString shortProviderName() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVM.h
r89996 r90375 54 54 QString fullGroupName() const { return m_strFullGroupName; } 55 55 56 /** Defines @a str ShortProviderName. */57 void setShortProviderName(const QString &str ShortProviderName) { m_strShortProviderName = strShortProviderName; }56 /** Defines @a strProviderShortName. */ 57 void setShortProviderName(const QString &strProviderShortName) { m_strProviderShortName = strProviderShortName; } 58 58 /** Returns short provider name. */ 59 QString shortProviderName() const { return m_str ShortProviderName; }59 QString shortProviderName() const { return m_strProviderShortName; } 60 60 61 61 /** Defines @a strProfileName. */ … … 107 107 QString m_strFullGroupName; 108 108 /** Holds the short provider name. */ 109 QString m_str ShortProviderName;109 QString m_strProviderShortName; 110 110 /** Holds the profile name. */ 111 111 QString m_strProfileName; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.cpp
r89997 r90375 556 556 } 557 557 558 void UIWizardNewCloudVMPageBasic1::setShortProviderName(const QString &str ShortProviderName)559 { 560 qobject_cast<UIWizardNewCloudVM*>(wizard())->setShortProviderName(str ShortProviderName);558 void UIWizardNewCloudVMPageBasic1::setShortProviderName(const QString &strProviderShortName) 559 { 560 qobject_cast<UIWizardNewCloudVM*>(wizard())->setShortProviderName(strProviderShortName); 561 561 } 562 562 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageBasic1.h
r89997 r90375 117 117 118 118 /** Defines short provider name. */ 119 void setShortProviderName(const QString &str ShortProviderName);119 void setShortProviderName(const QString &strProviderShortName); 120 120 /** Returns profile name. */ 121 121 QString shortProviderName() const; -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.cpp
r90034 r90375 349 349 } 350 350 351 void UIWizardNewCloudVMPageExpert::setShortProviderName(const QString &str ShortProviderName)352 { 353 qobject_cast<UIWizardNewCloudVM*>(wizard())->setShortProviderName(str ShortProviderName);351 void UIWizardNewCloudVMPageExpert::setShortProviderName(const QString &strProviderShortName) 352 { 353 qobject_cast<UIWizardNewCloudVM*>(wizard())->setShortProviderName(strProviderShortName); 354 354 } 355 355 -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newcloudvm/UIWizardNewCloudVMPageExpert.h
r89997 r90375 76 76 77 77 /** Defines short provider name. */ 78 void setShortProviderName(const QString &str ShortProviderName);78 void setShortProviderName(const QString &strProviderShortName); 79 79 /** Returns profile name. */ 80 80 QString shortProviderName() const;
Note:
See TracChangeset
for help on using the changeset viewer.

