Changeset 75371 in vbox
- Timestamp:
- Nov 9, 2018 5:13:31 PM (6 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/cloud/UICloudProfileManager.cpp
r75223 r75371 358 358 { 359 359 /* Acquire supported property names: */ 360 const QVector<QString> supportedNames = comCloudPro file.GetSupportedPropertyNames();360 const QVector<QString> supportedNames = comCloudProvider.GetSupportedPropertyNames(); 361 361 /* Show error message if necessary: */ 362 362 if (!comCloudProfile.isOk()) … … 832 832 { 833 833 /* Acquire descriptions: */ 834 for (int i = 0; i < keys.size(); ++i)835 {836 descriptions[i] = comProfile.GetPropertyDescription(keys.at(i));837 if (!comProfile.isOk())838 continue;839 }834 // for (int i = 0; i < keys.size(); ++i) 835 // { 836 // descriptions[i] = comProfile.GetPropertyDescription(keys.at(i)); 837 // if (!comProfile.isOk()) 838 // continue; 839 // } 840 840 841 841 /* Enumerate all the keys: */ -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/exportappliance/UIWizardExportAppPageBasic2.cpp
r75227 r75371 255 255 256 256 /* Use non-translated description as tool-tip: */ 257 const QString strToolTip = m_comCloudPro file.GetPropertyDescription(keys.at(i));257 const QString strToolTip = m_comCloudProvider.GetPropertyDescription(keys.at(i)); 258 258 /* Show error message if necessary: */ 259 259 if (!m_comCloudProfile.isOk()) -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r75362 r75371 25320 25320 <interface 25321 25321 name="ICloudProfile" extends="$unknown" 25322 uuid=" 011d1e9a-a48b-4d15-91a0-6101b087155c"25322 uuid="5f2ba3a2-f899-4261-877f-08b7bc52c15a" 25323 25323 wsmap="managed" reservedMethods="4" reservedAttributes="4" 25324 25324 > … … 25333 25333 <desc> 25334 25334 Returns provider identifier tied with this profile. 25335 </desc>25336 </attribute>25337 25338 <attribute name="supportedPropertyNames" type="wstring" safearray="yes" readonly="yes">25339 <desc>25340 Returns the supported property names.25341 25335 </desc> 25342 25336 </attribute> … … 25433 25427 </method> 25434 25428 25435 <!--- @todo r=klaus Is this the best placement of this method? To me it's25436 not obvious that it processes the object's state at all, and could be25437 moved up to ICloudProvider unless there's any chance that the25438 description changes with the profile. -->25439 <method name="getPropertyDescription" const="yes">25440 <param name="name" type="wstring" dir="in">25441 <desc>Property name.</desc>25442 </param>25443 <param name="description" type="wstring" dir="return">25444 <desc>Property description.</desc>25445 </param>25446 </method>25447 25448 25429 <method name="remove"> 25449 25430 <desc> … … 25472 25453 <interface 25473 25454 name="ICloudProvider" extends="$unknown" 25474 uuid=" 6e500583-602c-49bc-894d-2f53b8e371e9"25455 uuid="8154fa84-35d7-4a9b-86b4-cb2635b0d9f5" 25475 25456 wsmap="managed" reservedMethods="4" reservedAttributes="4" 25476 25457 > … … 25502 25483 <desc>Returns all profile names for this cloud provider.</desc> 25503 25484 </attribute> 25485 25486 <attribute name="supportedPropertyNames" type="wstring" safearray="yes" readonly="yes"> 25487 <desc> 25488 Returns the supported property names. 25489 </desc> 25490 </attribute> 25491 25492 <method name="getPropertyDescription" const="yes"> 25493 <param name="name" type="wstring" dir="in"> 25494 <desc>Property name.</desc> 25495 </param> 25496 <param name="description" type="wstring" dir="return"> 25497 <desc>Property description.</desc> 25498 </param> 25499 </method> 25504 25500 25505 25501 <method name="createProfile">
Note:
See TracChangeset
for help on using the changeset viewer.

