Changeset 66163 in vbox
- Timestamp:
- Mar 20, 2017 8:35:31 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 114072
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsPage.h
r62493 r66163 95 95 public: 96 96 97 /* Load data tocache from corresponding external object(s),98 * this task COULD be performed in other than GUI thread:*/97 /** Loads data into the cache from corresponding external object(s), 98 * this task COULD be performed in other than the GUI thread. */ 99 99 virtual void loadToCacheFrom(QVariant &data) = 0; 100 /* Load data to corresponding widgets fromcache,101 * this task SHOULD be performed in GUI thread only:*/100 /** Loads data into corresponding widgets from the cache, 101 * this task SHOULD be performed in the GUI thread only. */ 102 102 virtual void getFromCache() = 0; 103 103 104 /* Save data from corresponding widgets tocache,105 * this task SHOULD be performed in GUI thread only:*/104 /** Saves data from corresponding widgets to the cache, 105 * this task SHOULD be performed in the GUI thread only. */ 106 106 virtual void putToCache() = 0; 107 /* Save data fromcache to corresponding external object(s),108 * this task COULD be performed in other than GUI thread:*/107 /** Saves data from the cache to corresponding external object(s), 108 * this task COULD be performed in other than the GUI thread. */ 109 109 virtual void saveFromCacheTo(QVariant &data) = 0; 110 110 … … 130 130 bool isMachineInValidMode() const { return isMachineOffline() || isMachinePoweredOff() || isMachineSaved() || isMachineOnline(); } 131 131 132 /* Page changed:*/132 /** Returns whether the page content was changed. */ 133 133 virtual bool changed() const = 0; 134 134 … … 202 202 void uploadData(QVariant &data) const; 203 203 204 /* Page changed:*/204 /** Returns whether the page content was changed. */ 205 205 bool changed() const { return false; } 206 206 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsDisplay.h
r65681 r66163 67 67 protected: 68 68 69 /* Load data tocache from corresponding external object(s),70 * this task COULD be performed in other than GUI thread:*/69 /** Loads data into the cache from corresponding external object(s), 70 * this task COULD be performed in other than the GUI thread. */ 71 71 void loadToCacheFrom(QVariant &data); 72 /* Load data to corresponding widgets fromcache,73 * this task SHOULD be performed in GUI thread only:*/72 /** Loads data into corresponding widgets from the cache, 73 * this task SHOULD be performed in the GUI thread only. */ 74 74 void getFromCache(); 75 75 76 /* Save data from corresponding widgets tocache,77 * this task SHOULD be performed in GUI thread only:*/76 /** Saves data from corresponding widgets to the cache, 77 * this task SHOULD be performed in the GUI thread only. */ 78 78 void putToCache(); 79 /* Save data fromcache to corresponding external object(s),80 * this task COULD be performed in other than GUI thread:*/79 /** Saves data from the cache to corresponding external object(s), 80 * this task COULD be performed in other than the GUI thread. */ 81 81 void saveFromCacheTo(QVariant &data); 82 82 83 /* Helper: Navigation stuff:*/83 /** Defines TAB order. */ 84 84 void setOrderAfter(QWidget *pWidget); 85 85 86 /* Helper: Translation stuff:*/86 /** Handles translation event. */ 87 87 void retranslateUi(); 88 88 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsExtension.h
r65690 r66163 111 111 protected: 112 112 113 /* Load data tocache from corresponding external object(s),114 * this task COULD be performed in other than GUI thread:*/113 /** Loads data into the cache from corresponding external object(s), 114 * this task COULD be performed in other than the GUI thread. */ 115 115 void loadToCacheFrom(QVariant &data); 116 /* Load data to corresponding widgets fromcache,117 * this task SHOULD be performed in GUI thread only:*/116 /** Loads data into corresponding widgets from the cache, 117 * this task SHOULD be performed in the GUI thread only. */ 118 118 void getFromCache(); 119 119 120 /* Save data from corresponding widgets tocache,121 * this task SHOULD be performed in GUI thread only:*/120 /** Saves data from corresponding widgets to the cache, 121 * this task SHOULD be performed in the GUI thread only. */ 122 122 void putToCache(); 123 /* Save data fromcache to corresponding external object(s),124 * this task COULD be performed in other than GUI thread:*/123 /** Saves data from the cache to corresponding external object(s), 124 * this task COULD be performed in other than the GUI thread. */ 125 125 void saveFromCacheTo(QVariant &data); 126 126 127 /* Helper: Navigation stuff:*/127 /** Defines TAB order. */ 128 128 void setOrderAfter(QWidget *pWidget); 129 129 130 /* Helper: Translation stuff:*/130 /** Handles translation event. */ 131 131 void retranslateUi(); 132 132 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsGeneral.h
r65684 r66163 71 71 protected: 72 72 73 /* Load data tocache from corresponding external object(s),74 * this task COULD be performed in other than GUI thread:*/73 /** Loads data into the cache from corresponding external object(s), 74 * this task COULD be performed in other than the GUI thread. */ 75 75 void loadToCacheFrom(QVariant &data); 76 /* Load data to corresponding widgets fromcache,77 * this task SHOULD be performed in GUI thread only:*/76 /** Loads data into corresponding widgets from the cache, 77 * this task SHOULD be performed in the GUI thread only. */ 78 78 void getFromCache(); 79 79 80 /* Save data from corresponding widgets tocache,81 * this task SHOULD be performed in GUI thread only:*/80 /** Saves data from corresponding widgets to the cache, 81 * this task SHOULD be performed in the GUI thread only. */ 82 82 void putToCache(); 83 /* Save data fromcache to corresponding external object(s),84 * this task COULD be performed in other than GUI thread:*/83 /** Saves data from the cache to corresponding external object(s), 84 * this task COULD be performed in other than the GUI thread. */ 85 85 void saveFromCacheTo(QVariant &data); 86 86 87 /* Helper: Navigation stuff:*/87 /** Defines TAB order. */ 88 88 void setOrderAfter(QWidget *pWidget); 89 89 90 /* Helper: Translation stuff:*/90 /** Handles translation event. */ 91 91 void retranslateUi(); 92 92 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
r65685 r66163 53 53 protected: 54 54 55 /* Load data tocache from corresponding external object(s),56 * this task COULD be performed in other than GUI thread:*/55 /** Loads data into the cache from corresponding external object(s), 56 * this task COULD be performed in other than the GUI thread. */ 57 57 void loadToCacheFrom(QVariant &data); 58 /* Load data to corresponding widgets fromcache,59 * this task SHOULD be performed in GUI thread only:*/58 /** Loads data into corresponding widgets from the cache, 59 * this task SHOULD be performed in the GUI thread only. */ 60 60 void getFromCache(); 61 61 62 /* Save data from corresponding widgets tocache,63 * this task SHOULD be performed in GUI thread only:*/62 /** Saves data from corresponding widgets to the cache, 63 * this task SHOULD be performed in the GUI thread only. */ 64 64 void putToCache(); 65 /* Save data fromcache to corresponding external object(s),66 * this task COULD be performed in other than GUI thread:*/65 /** Saves data from the cache to corresponding external object(s), 66 * this task COULD be performed in other than the GUI thread. */ 67 67 void saveFromCacheTo(QVariant &data); 68 68 69 /* API: Validation stuff:*/69 /** Performs validation, updates @a messages list if something is wrong. */ 70 70 bool validate(QList<UIValidationMessage> &messages); 71 71 72 /* Helper: Navigation stuff:*/72 /** Defines TAB order. */ 73 73 void setOrderAfter(QWidget *pWidget); 74 74 75 /* Helper: Translation stuff:*/75 /** Handles translation event. */ 76 76 void retranslateUi(); 77 77 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.cpp
r65686 r66163 249 249 } 250 250 251 /* Save data from cache to corresponding external object(s),252 * this task COULD be performed in other than GUI thread: */253 251 void UIGlobalSettingsLanguage::saveFromCacheTo(QVariant &data) 254 252 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsLanguage.h
r65686 r66163 63 63 protected: 64 64 65 /* Load data tocache from corresponding external object(s),66 * this task COULD be performed in other than GUI thread:*/65 /** Loads data into the cache from corresponding external object(s), 66 * this task COULD be performed in other than the GUI thread. */ 67 67 void loadToCacheFrom(QVariant &data); 68 /* Load data to corresponding widgets fromcache,69 * this task SHOULD be performed in GUI thread only:*/68 /** Loads data into corresponding widgets from the cache, 69 * this task SHOULD be performed in the GUI thread only. */ 70 70 void getFromCache(); 71 71 72 /* Save data from corresponding widgets tocache,73 * this task SHOULD be performed in GUI thread only:*/72 /** Saves data from corresponding widgets to the cache, 73 * this task SHOULD be performed in the GUI thread only. */ 74 74 void putToCache(); 75 /* Save data fromcache to corresponding external object(s),76 * this task COULD be performed in other than GUI thread:*/75 /** Saves data from the cache to corresponding external object(s), 76 * this task COULD be performed in other than the GUI thread. */ 77 77 void saveFromCacheTo(QVariant &data); 78 78 79 /* Helper: Navigation stuff:*/79 /** Defines TAB order. */ 80 80 void setOrderAfter(QWidget *pWidget); 81 81 82 /* Helper: Translation stuff:*/82 /** Handles translation event. */ 83 83 void retranslateUi(); 84 84 85 /* Handlers: Event stuff:*/85 /** Handles show @a pEvent. */ 86 86 void showEvent(QShowEvent *pEvent); 87 /** Performs final page polishing. */ 87 88 void polishEvent(QShowEvent *pEvent); 88 89 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.cpp
r65760 r66163 57 57 void uploadNetworkData(UIDataSettingsGlobalNetworkNAT &data); 58 58 59 /* API: Validation stuff:*/60 bool validate(UIValidationMessage &message );59 /** Performs validation, updates @a messages list if something is wrong. */ 60 bool validate(UIValidationMessage &messages); 61 61 62 62 /* API: Update stuff: */ … … 90 90 void uploadNetworkData(UIDataSettingsGlobalNetworkHost &data); 91 91 92 /* API: Validation stuff:*/93 bool validate(UIValidationMessage &message );92 /** Performs validation, updates @a messages list if something is wrong. */ 93 bool validate(UIValidationMessage &messages); 94 94 95 95 /* API: Update stuff: */ -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsNetwork.h
r65687 r66163 252 252 protected: 253 253 254 /* API: 255 * Load data to cache from corresponding external object(s), 256 * this task COULD be performed in other than GUI thread: */ 254 /** Loads data into the cache from corresponding external object(s), 255 * this task COULD be performed in other than the GUI thread. */ 257 256 void loadToCacheFrom(QVariant &data); 258 /* API: 259 * Load data to corresponding widgets from cache, 260 * this task SHOULD be performed in GUI thread only: */ 257 /** Loads data into corresponding widgets from the cache, 258 * this task SHOULD be performed in the GUI thread only. */ 261 259 void getFromCache(); 262 260 263 /* API: 264 * Save data from corresponding widgets to cache, 265 * this task SHOULD be performed in GUI thread only: */ 261 /** Saves data from corresponding widgets to the cache, 262 * this task SHOULD be performed in the GUI thread only. */ 266 263 void putToCache(); 267 /* API: 268 * Save data from cache to corresponding external object(s), 269 * this task COULD be performed in other than GUI thread: */ 264 /** Saves data from the cache to corresponding external object(s), 265 * this task COULD be performed in other than the GUI thread. */ 270 266 void saveFromCacheTo(QVariant &data); 271 267 272 /* API: Validation stuff:*/268 /** Performs validation, updates @a messages list if something is wrong. */ 273 269 bool validate(QList<UIValidationMessage> &messages); 274 270 275 /* API: Navigation stuff:*/271 /** Defines TAB order. */ 276 272 void setOrderAfter(QWidget *pWidget); 277 273 278 /* API: Translation stuff:*/274 /** Handles translation event. */ 279 275 void retranslateUi(); 280 276 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsProxy.h
r65688 r66163 72 72 protected: 73 73 74 /* Load data tocache from corresponding external object(s),75 * this task COULD be performed in other than GUI thread:*/74 /** Loads data into the cache from corresponding external object(s), 75 * this task COULD be performed in other than the GUI thread. */ 76 76 void loadToCacheFrom(QVariant &data); 77 /* Load data to corresponding widgets fromcache,78 * this task SHOULD be performed in GUI thread only:*/77 /** Loads data into corresponding widgets from the cache, 78 * this task SHOULD be performed in the GUI thread only. */ 79 79 void getFromCache(); 80 80 81 /* Save data from corresponding widgets tocache,82 * this task SHOULD be performed in GUI thread only:*/81 /** Saves data from corresponding widgets to the cache, 82 * this task SHOULD be performed in the GUI thread only. */ 83 83 void putToCache(); 84 /* Save data fromcache to corresponding external object(s),85 * this task COULD be performed in other than GUI thread:*/84 /** Saves data from the cache to corresponding external object(s), 85 * this task COULD be performed in other than the GUI thread. */ 86 86 void saveFromCacheTo(QVariant &data); 87 87 88 /* API: Validation stuff:*/88 /** Performs validation, updates @a messages list if something is wrong. */ 89 89 bool validate(QList<UIValidationMessage> &messages); 90 90 91 /* Helper: Navigation stuff:*/91 /** Defines TAB order. */ 92 92 void setOrderAfter(QWidget *pWidget); 93 93 94 /* Helper: Translation stuff:*/94 /** Handles translation event. */ 95 95 void retranslateUi(); 96 96 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.h
r65689 r66163 76 76 protected: 77 77 78 /* Load data tocache from corresponding external object(s),79 * this task COULD be performed in other than GUI thread:*/78 /** Loads data into the cache from corresponding external object(s), 79 * this task COULD be performed in other than the GUI thread. */ 80 80 void loadToCacheFrom(QVariant &data); 81 /* Load data to corresponding widgets fromcache,82 * this task SHOULD be performed in GUI thread only:*/81 /** Loads data into corresponding widgets from the cache, 82 * this task SHOULD be performed in the GUI thread only. */ 83 83 void getFromCache(); 84 84 85 /* Save data from corresponding widgets tocache,86 * this task SHOULD be performed in GUI thread only:*/85 /** Saves data from corresponding widgets to the cache, 86 * this task SHOULD be performed in the GUI thread only. */ 87 87 void putToCache(); 88 /* Save data fromcache to corresponding external object(s),89 * this task COULD be performed in other than GUI thread:*/88 /** Saves data from the cache to corresponding external object(s), 89 * this task COULD be performed in other than the GUI thread. */ 90 90 void saveFromCacheTo(QVariant &data); 91 91 92 /* Helper: Navigation stuff:*/92 /** Defines TAB order. */ 93 93 void setOrderAfter(QWidget *pWidget); 94 94 95 /* Helper: Translation stuff:*/95 /** Handles translation event. */ 96 96 void retranslateUi(); 97 97 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsAudio.cpp
r62585 r66163 36 36 } 37 37 38 /* Load data to cache from corresponding external object(s),39 * this task COULD be performed in other than GUI thread: */40 38 void UIMachineSettingsAudio::loadToCacheFrom(QVariant &data) 41 39 { … … 66 64 } 67 65 68 /* Load data to corresponding widgets from cache,69 * this task SHOULD be performed in GUI thread only: */70 66 void UIMachineSettingsAudio::getFromCache() 71 67 { … … 82 78 } 83 79 84 /* Save data from corresponding widgets to cache,85 * this task SHOULD be performed in GUI thread only: */86 80 void UIMachineSettingsAudio::putToCache() 87 81 { … … 98 92 } 99 93 100 /* Save data from cache to corresponding external object(s),101 * this task COULD be performed in other than GUI thread: */102 94 void UIMachineSettingsAudio::saveFromCacheTo(QVariant &data) 103 95 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsAudio.h
r65629 r66163 61 61 protected: 62 62 63 /* API: Cache stuff:*/63 /** Returns whether the page content was changed. */ 64 64 bool changed() const { return m_cache.wasChanged(); } 65 65 66 /* Load data tocache from corresponding external object(s),67 * this task COULD be performed in other than GUI thread:*/66 /** Loads data into the cache from corresponding external object(s), 67 * this task COULD be performed in other than the GUI thread. */ 68 68 void loadToCacheFrom(QVariant &data); 69 /* Load data to corresponding widgets fromcache,70 * this task SHOULD be performed in GUI thread only:*/69 /** Loads data into corresponding widgets from the cache, 70 * this task SHOULD be performed in the GUI thread only. */ 71 71 void getFromCache(); 72 72 73 /* Save data from corresponding widgets tocache,74 * this task SHOULD be performed in GUI thread only:*/73 /** Saves data from corresponding widgets to the cache, 74 * this task SHOULD be performed in the GUI thread only. */ 75 75 void putToCache(); 76 /* Save data fromcache to corresponding external object(s),77 * this task COULD be performed in other than GUI thread:*/76 /** Saves data from the cache to corresponding external object(s), 77 * this task COULD be performed in other than the GUI thread. */ 78 78 void saveFromCacheTo(QVariant &data); 79 79 80 /* API: Focus-order stuff:*/80 /** Defines TAB order. */ 81 81 void setOrderAfter(QWidget *pWidget); 82 82 83 /* Helper: Translate stuff:*/83 /** Handles translation event. */ 84 84 void retranslateUi(); 85 85 86 /* Helper: Polish stuff:*/86 /** Performs final page polishing. */ 87 87 void polishPage(); 88 88 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r63054 r66163 85 85 #endif /* VBOX_WITH_VIDEOHWACCEL */ 86 86 87 /* Load data to cache from corresponding external object(s),88 * this task COULD be performed in other than GUI thread: */89 87 void UIMachineSettingsDisplay::loadToCacheFrom(QVariant &data) 90 88 { … … 143 141 } 144 142 145 /* Load data to corresponding widgets from cache,146 * this task SHOULD be performed in GUI thread only: */147 143 void UIMachineSettingsDisplay::getFromCache() 148 144 { … … 191 187 } 192 188 193 /* Save data from corresponding widgets to cache,194 * this task SHOULD be performed in GUI thread only: */195 189 void UIMachineSettingsDisplay::putToCache() 196 190 { … … 234 228 } 235 229 236 /* Save data from cache to corresponding external object(s),237 * this task COULD be performed in other than GUI thread: */238 230 void UIMachineSettingsDisplay::saveFromCacheTo(QVariant &data) 239 231 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.h
r65629 r66163 142 142 protected: 143 143 144 /* API: Cache stuff:*/144 /** Returns whether the page content was changed. */ 145 145 bool changed() const { return m_cache.wasChanged(); } 146 146 147 /* API: Load data tocache from corresponding external object(s),148 * this task COULD be performed in other than GUI thread:*/147 /** Loads data into the cache from corresponding external object(s), 148 * this task COULD be performed in other than the GUI thread. */ 149 149 void loadToCacheFrom(QVariant &data); 150 /* API: Load data to corresponding widgets fromcache,151 * this task SHOULD be performed in GUI thread only:*/150 /** Loads data into corresponding widgets from the cache, 151 * this task SHOULD be performed in the GUI thread only. */ 152 152 void getFromCache(); 153 153 154 /* API: Save data from corresponding widgets tocache,155 * this task SHOULD be performed in GUI thread only:*/154 /** Saves data from corresponding widgets to the cache, 155 * this task SHOULD be performed in the GUI thread only. */ 156 156 void putToCache(); 157 /* API: Save data fromcache to corresponding external object(s),158 * this task COULD be performed in other than GUI thread:*/157 /** Saves data from the cache to corresponding external object(s), 158 * this task COULD be performed in other than the GUI thread. */ 159 159 void saveFromCacheTo(QVariant &data); 160 160 161 /* API: Validation stuff:*/161 /** Performs validation, updates @a messages list if something is wrong. */ 162 162 bool validate(QList<UIValidationMessage> &messages); 163 163 164 /* Helper: Navigation stuff:*/164 /** Defines TAB order. */ 165 165 void setOrderAfter(QWidget *pWidget); 166 166 167 /* Helper: Translation stuff:*/167 /** Handles translation event. */ 168 168 void retranslateUi(); 169 169 170 /* Helper: Polishing stuff:*/170 /** Performs final page polishing. */ 171 171 void polishPage(); 172 172 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsInterface.cpp
r62493 r66163 41 41 } 42 42 43 /* Load data to cache from corresponding external object(s),44 * this task COULD be performed in other than GUI thread: */45 43 void UIMachineSettingsInterface::loadToCacheFrom(QVariant &data) 46 44 { … … 86 84 } 87 85 88 /* Load data to corresponding widgets from cache,89 * this task SHOULD be performed in GUI thread only: */90 86 void UIMachineSettingsInterface::getFromCache() 91 87 { … … 125 121 } 126 122 127 /* Save data from corresponding widgets to cache,128 * this task SHOULD be performed in GUI thread only: */129 123 void UIMachineSettingsInterface::putToCache() 130 124 { … … 161 155 } 162 156 163 /* Save data from cache to corresponding external object(s),164 * this task COULD be performed in other than GUI thread: */165 157 void UIMachineSettingsInterface::saveFromCacheTo(QVariant &data) 166 158 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsInterface.h
r65629 r66163 129 129 protected: 130 130 131 /* API: Cache stuff:*/131 /** Returns whether the page content was changed. */ 132 132 bool changed() const { return m_cache.wasChanged(); } 133 133 134 /* API: Load data tocache from corresponding external object(s),135 * this task COULD be performed in other than GUI thread:*/134 /** Loads data into the cache from corresponding external object(s), 135 * this task COULD be performed in other than the GUI thread. */ 136 136 void loadToCacheFrom(QVariant &data); 137 /* API: Load data to corresponding widgets fromcache,138 * this task SHOULD be performed in GUI thread only:*/137 /** Loads data into corresponding widgets from the cache, 138 * this task SHOULD be performed in the GUI thread only. */ 139 139 void getFromCache(); 140 140 141 /* API: Save data from corresponding widgets tocache,142 * this task SHOULD be performed in GUI thread only:*/141 /** Saves data from corresponding widgets to the cache, 142 * this task SHOULD be performed in the GUI thread only. */ 143 143 void putToCache(); 144 /* API: Save data fromcache to corresponding external object(s),145 * this task COULD be performed in other than GUI thread:*/144 /** Saves data from the cache to corresponding external object(s), 145 * this task COULD be performed in other than the GUI thread. */ 146 146 void saveFromCacheTo(QVariant &data); 147 147 148 /* Helper: Navigation stuff:*/148 /** Defines TAB order. */ 149 149 void setOrderAfter(QWidget *pWidget); 150 150 151 /* Helper: Translation stuff:*/151 /** Handles translation event. */ 152 152 void retranslateUi(); 153 153 154 /* Helper: Polishing stuff:*/154 /** Performs final page polishing. */ 155 155 void polishPage(); 156 156 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.cpp
r65891 r66163 842 842 } 843 843 844 /* Load data to cache from corresponding external object(s),845 * this task COULD be performed in other than GUI thread: */846 844 void UIMachineSettingsNetworkPage::loadToCacheFrom(QVariant &data) 847 845 { … … 909 907 } 910 908 911 /* Load data to corresponding widgets from cache,912 * this task SHOULD be performed in GUI thread only: */913 909 void UIMachineSettingsNetworkPage::getFromCache() 914 910 { … … 941 937 } 942 938 943 /* Save data from corresponding widgets to cache,944 * this task SHOULD be performed in GUI thread only: */945 939 void UIMachineSettingsNetworkPage::putToCache() 946 940 { … … 956 950 } 957 951 958 /* Save data from cache to corresponding external object(s),959 * this task COULD be performed in other than GUI thread: */960 952 void UIMachineSettingsNetworkPage::saveFromCacheTo(QVariant &data) 961 953 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsNetwork.h
r65629 r66163 111 111 void uploadAdapterCache(UISettingsCacheMachineNetworkAdapter &adapterCache); 112 112 113 /* API: Validation stuff:*/113 /** Performs validation, updates @a messages list if something is wrong. */ 114 114 bool validate(QList<UIValidationMessage> &messages); 115 115 … … 137 137 protected: 138 138 139 /* Translation stuff:*/139 /** Handles translation event. */ 140 140 void retranslateUi(); 141 141 … … 203 203 protected: 204 204 205 /* Load data tocache from corresponding external object(s),206 * this task COULD be performed in other than GUI thread:*/205 /** Loads data into the cache from corresponding external object(s), 206 * this task COULD be performed in other than the GUI thread. */ 207 207 void loadToCacheFrom(QVariant &data); 208 /* Load data to corresponding widgets fromcache,209 * this task SHOULD be performed in GUI thread only:*/208 /** Loads data into corresponding widgets from the cache, 209 * this task SHOULD be performed in the GUI thread only. */ 210 210 void getFromCache(); 211 211 212 /* Save data from corresponding widgets tocache,213 * this task SHOULD be performed in GUI thread only:*/212 /** Saves data from corresponding widgets to the cache, 213 * this task SHOULD be performed in the GUI thread only. */ 214 214 void putToCache(); 215 /* Save data fromcache to corresponding external object(s),216 * this task COULD be performed in other than GUI thread:*/215 /** Saves data from the cache to corresponding external object(s), 216 * this task COULD be performed in other than the GUI thread. */ 217 217 void saveFromCacheTo(QVariant &data); 218 218 219 /* Page changed:*/219 /** Returns whether the page content was changed. */ 220 220 bool changed() const { return m_cache.wasChanged(); } 221 221 222 /* API: Validation stuff:*/222 /** Performs validation, updates @a messages list if something is wrong. */ 223 223 bool validate(QList<UIValidationMessage> &messages); 224 224 225 /* Translation stuff:*/225 /** Handles translation event. */ 226 226 void retranslateUi(); 227 227 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsParallel.cpp
r65629 r66163 206 206 } 207 207 208 /* Load data to cache from corresponding external object(s),209 * this task COULD be performed in other than GUI thread: */210 208 void UIMachineSettingsParallelPage::loadToCacheFrom(QVariant &data) 211 209 { … … 242 240 } 243 241 244 /* Load data to corresponding widgets from cache,245 * this task SHOULD be performed in GUI thread only: */246 242 void UIMachineSettingsParallelPage::getFromCache() 247 243 { … … 274 270 } 275 271 276 /* Save data from corresponding widgets to cache,277 * this task SHOULD be performed in GUI thread only: */278 272 void UIMachineSettingsParallelPage::putToCache() 279 273 { … … 289 283 } 290 284 291 /* Save data from cache to corresponding external object(s),292 * this task COULD be performed in other than GUI thread: */293 285 void UIMachineSettingsParallelPage::saveFromCacheTo(QVariant &data) 294 286 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsParallel.h
r65629 r66163 117 117 protected: 118 118 119 /* Load data tocache from corresponding external object(s),120 * this task COULD be performed in other than GUI thread:*/119 /** Loads data into the cache from corresponding external object(s), 120 * this task COULD be performed in other than the GUI thread. */ 121 121 void loadToCacheFrom(QVariant &data); 122 /* Load data to corresponding widgets fromcache,123 * this task SHOULD be performed in GUI thread only:*/122 /** Loads data into corresponding widgets from the cache, 123 * this task SHOULD be performed in the GUI thread only. */ 124 124 void getFromCache(); 125 125 126 /* Save data from corresponding widgets tocache,127 * this task SHOULD be performed in GUI thread only:*/126 /** Saves data from corresponding widgets to the cache, 127 * this task SHOULD be performed in the GUI thread only. */ 128 128 void putToCache(); 129 /* Save data fromcache to corresponding external object(s),130 * this task COULD be performed in other than GUI thread:*/129 /** Saves data from the cache to corresponding external object(s), 130 * this task COULD be performed in other than the GUI thread. */ 131 131 void saveFromCacheTo(QVariant &data); 132 132 133 /* Page changed:*/133 /** Returns whether the page content was changed. */ 134 134 bool changed() const { return m_cache.wasChanged(); } 135 135 136 /* API: Validation stuff:*/136 /** Performs validation, updates @a messages list if something is wrong. */ 137 137 bool validate(QList<UIValidationMessage> &messages); 138 138 139 /** Handles translation event. */ 139 140 void retranslateUi(); 140 141 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.cpp
r65629 r66163 239 239 } 240 240 241 /* Load data to cache from corresponding external object(s),242 * this task COULD be performed in other than GUI thread: */243 241 void UIMachineSettingsSF::loadToCacheFrom(QVariant &data) 244 242 { … … 291 289 } 292 290 293 /* Load data to corresponding widgets from cache,294 * this task SHOULD be performed in GUI thread only: */295 291 void UIMachineSettingsSF::getFromCache() 296 292 { … … 323 319 } 324 320 325 /* Save data from corresponding widgets to cache,326 * this task SHOULD be performed in GUI thread only: */327 321 void UIMachineSettingsSF::putToCache() 328 322 { … … 349 343 } 350 344 351 /* Save data from cache to corresponding external object(s),352 * this task COULD be performed in other than GUI thread: */353 345 void UIMachineSettingsSF::saveFromCacheTo(QVariant &data) 354 346 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSF.h
r65629 r66163 86 86 protected: 87 87 88 /* Load data tocache from corresponding external object(s),89 * this task COULD be performed in other than GUI thread:*/88 /** Loads data into the cache from corresponding external object(s), 89 * this task COULD be performed in other than the GUI thread. */ 90 90 void loadToCacheFrom(QVariant &data); 91 91 void loadToCacheFrom(UISharedFolderType sharedFoldersType); 92 /* Load data to corresponding widgets fromcache,93 * this task SHOULD be performed in GUI thread only:*/92 /** Loads data into corresponding widgets from the cache, 93 * this task SHOULD be performed in the GUI thread only. */ 94 94 void getFromCache(); 95 95 96 /* Save data from corresponding widgets tocache,97 * this task SHOULD be performed in GUI thread only:*/96 /** Saves data from corresponding widgets to the cache, 97 * this task SHOULD be performed in the GUI thread only. */ 98 98 void putToCache(); 99 /* Save data fromcache to corresponding external object(s),100 * this task COULD be performed in other than GUI thread:*/99 /** Saves data from the cache to corresponding external object(s), 100 * this task COULD be performed in other than the GUI thread. */ 101 101 void saveFromCacheTo(QVariant &data); 102 /** Saves data of @a sharedFoldersType from the cache to corresponding external object(s), 103 * this task COULD be performed in other than the GUI thread. */ 102 104 void saveFromCacheTo(UISharedFolderType sharedFoldersType); 103 105 104 /* Page changed:*/106 /** Returns whether the page content was changed. */ 105 107 bool changed() const { return m_cache.wasChanged(); } 106 108 107 void setOrderAfter (QWidget *aWidget); 109 /** Defines TAB order. */ 110 void setOrderAfter(QWidget *pWidget); 108 111 112 /** Handles translation event. */ 109 113 void retranslateUi(); 110 114 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSerial.cpp
r65629 r66163 245 245 } 246 246 247 /* Load data to cache from corresponding external object(s),248 * this task COULD be performed in other than GUI thread: */249 247 void UIMachineSettingsSerialPage::loadToCacheFrom(QVariant &data) 250 248 { … … 283 281 } 284 282 285 /* Load data to corresponding widgets from cache,286 * this task SHOULD be performed in GUI thread only: */287 283 void UIMachineSettingsSerialPage::getFromCache() 288 284 { … … 315 311 } 316 312 317 /* Save data from corresponding widgets to cache,318 * this task SHOULD be performed in GUI thread only: */319 313 void UIMachineSettingsSerialPage::putToCache() 320 314 { … … 330 324 } 331 325 332 /* Save data from cache to corresponding external object(s),333 * this task COULD be performed in other than GUI thread: */334 326 void UIMachineSettingsSerialPage::saveFromCacheTo(QVariant &data) 335 327 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSerial.h
r65629 r66163 124 124 protected: 125 125 126 /* Load data tocache from corresponding external object(s),127 * this task COULD be performed in other than GUI thread:*/126 /** Loads data into the cache from corresponding external object(s), 127 * this task COULD be performed in other than the GUI thread. */ 128 128 void loadToCacheFrom(QVariant &data); 129 /* Load data to corresponding widgets fromcache,130 * this task SHOULD be performed in GUI thread only:*/129 /** Loads data into corresponding widgets from the cache, 130 * this task SHOULD be performed in the GUI thread only. */ 131 131 void getFromCache(); 132 132 133 /* Save data from corresponding widgets tocache,134 * this task SHOULD be performed in GUI thread only:*/133 /** Saves data from corresponding widgets to the cache, 134 * this task SHOULD be performed in the GUI thread only. */ 135 135 void putToCache(); 136 /* Save data fromcache to corresponding external object(s),137 * this task COULD be performed in other than GUI thread:*/136 /** Saves data from the cache to corresponding external object(s), 137 * this task COULD be performed in other than the GUI thread. */ 138 138 void saveFromCacheTo(QVariant &data); 139 139 140 /* Page changed:*/140 /** Returns whether the page content was changed. */ 141 141 bool changed() const { return m_cache.wasChanged(); } 142 142 143 /* API: Validation stuff:*/143 /** Performs validation, updates @a messages list if something is wrong. */ 144 144 bool validate(QList<UIValidationMessage> &messages); 145 145 146 /** Handles translation event. */ 146 147 void retranslateUi(); 147 148 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp
r65629 r66163 2196 2196 } 2197 2197 2198 /* Load data to cache from corresponding external object(s),2199 * this task COULD be performed in other than GUI thread: */2200 2198 void UIMachineSettingsStorage::loadToCacheFrom(QVariant &data) 2201 2199 { … … 2276 2274 } 2277 2275 2278 /* Load data to corresponding widgets from cache,2279 * this task SHOULD be performed in GUI thread only: */2280 2276 void UIMachineSettingsStorage::getFromCache() 2281 2277 { … … 2336 2332 } 2337 2333 2338 /* Save data from corresponding widgets to cache,2339 * this task SHOULD be performed in GUI thread only: */2340 2334 void UIMachineSettingsStorage::putToCache() 2341 2335 { … … 2388 2382 } 2389 2383 2390 /* Save data from cache to corresponding external object(s),2391 * this task COULD be performed in other than GUI thread: */2392 2384 void UIMachineSettingsStorage::saveFromCacheTo(QVariant &data) 2393 2385 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.h
r65629 r66163 690 690 protected: 691 691 692 /* Load data tocache from corresponding external object(s),693 * this task COULD be performed in other than GUI thread:*/692 /** Loads data into the cache from corresponding external object(s), 693 * this task COULD be performed in other than the GUI thread. */ 694 694 void loadToCacheFrom(QVariant &data); 695 /* Load data to corresponding widgets fromcache,696 * this task SHOULD be performed in GUI thread only:*/695 /** Loads data into corresponding widgets from the cache, 696 * this task SHOULD be performed in the GUI thread only. */ 697 697 void getFromCache(); 698 698 699 /* Save data from corresponding widgets tocache,700 * this task SHOULD be performed in GUI thread only:*/699 /** Saves data from corresponding widgets to the cache, 700 * this task SHOULD be performed in the GUI thread only. */ 701 701 void putToCache(); 702 /* Save data fromcache to corresponding external object(s),703 * this task COULD be performed in other than GUI thread:*/702 /** Saves data from the cache to corresponding external object(s), 703 * this task COULD be performed in other than the GUI thread. */ 704 704 void saveFromCacheTo(QVariant &data); 705 705 706 /* Page changed:*/706 /** Returns whether the page content was changed. */ 707 707 bool changed() const { return m_cache.wasChanged(); } 708 708 709 /* API: Validation stuff:*/709 /** Performs validation, updates @a messages list if something is wrong. */ 710 710 bool validate(QList<UIValidationMessage> &messages); 711 711 712 /** Handles translation event. */ 712 713 void retranslateUi(); 713 714 714 void showEvent (QShowEvent *aEvent); 715 /** Handles show @a pEvent. */ 716 void showEvent(QShowEvent *pEvent); 715 717 716 718 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.cpp
r63567 r66163 76 76 } 77 77 78 /* Load data to cache from corresponding external object(s),79 * this task COULD be performed in other than GUI thread: */80 78 void UIMachineSettingsSystem::loadToCacheFrom(QVariant &data) 81 79 { … … 145 143 } 146 144 147 /* Load data to corresponding widgets from cache,148 * this task SHOULD be performed in GUI thread only: */149 145 void UIMachineSettingsSystem::getFromCache() 150 146 { … … 197 193 } 198 194 199 /* Save data from corresponding widgets to cache,200 * this task SHOULD be performed in GUI thread only: */201 195 void UIMachineSettingsSystem::putToCache() 202 196 { … … 238 232 } 239 233 240 /* Save data from cache to corresponding external object(s),241 * this task COULD be performed in other than GUI thread: */242 234 void UIMachineSettingsSystem::saveFromCacheTo(QVariant &data) 243 235 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsSystem.h
r65629 r66163 137 137 protected: 138 138 139 /* API: Cache stuff:*/139 /** Returns whether the page content was changed. */ 140 140 bool changed() const { return m_cache.wasChanged(); } 141 141 142 /* API: Load data tocache from corresponding external object(s),143 * this task COULD be performed in other than GUI thread:*/142 /** Loads data into the cache from corresponding external object(s), 143 * this task COULD be performed in other than the GUI thread. */ 144 144 void loadToCacheFrom(QVariant &data); 145 /* API: Load data to corresponding widgets fromcache,146 * this task SHOULD be performed in GUI thread only:*/145 /** Loads data into corresponding widgets from the cache, 146 * this task SHOULD be performed in the GUI thread only. */ 147 147 void getFromCache(); 148 148 149 /* API: Save data from corresponding widgets tocache,150 * this task SHOULD be performed in GUI thread only:*/149 /** Saves data from corresponding widgets to the cache, 150 * this task SHOULD be performed in the GUI thread only. */ 151 151 void putToCache(); 152 /* API: Save data fromcache to corresponding external object(s),153 * this task COULD be performed in other than GUI thread:*/152 /** Saves data from the cache to corresponding external object(s), 153 * this task COULD be performed in other than the GUI thread. */ 154 154 void saveFromCacheTo(QVariant &data); 155 155 156 /* API: Validation stuff:*/156 /** Performs validation, updates @a messages list if something is wrong. */ 157 157 bool validate(QList<UIValidationMessage> &messages); 158 158 159 /* Helper: Navigation stuff:*/159 /** Defines TAB order. */ 160 160 void setOrderAfter(QWidget *pWidget); 161 161 162 /* Helper: Translation stuff:*/162 /** Handles translation event. */ 163 163 void retranslateUi(); 164 164 165 /* Helper: Polishing stuff:*/165 /** Performs final page polishing. */ 166 166 void polishPage(); 167 167 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.cpp
r65919 r66163 274 274 } 275 275 276 /* Load data to cache from corresponding external object(s),277 * this task COULD be performed in other than GUI thread: */278 276 void UIMachineSettingsUSB::loadToCacheFrom(QVariant &data) 279 277 { … … 333 331 } 334 332 335 /* Load data to corresponding widgets from cache,336 * this task SHOULD be performed in GUI thread only: */337 333 void UIMachineSettingsUSB::getFromCache() 338 334 { … … 370 366 } 371 367 372 /* Save data from corresponding widgets to cache,373 * this task SHOULD be performed in GUI thread only: */374 368 void UIMachineSettingsUSB::putToCache() 375 369 { … … 400 394 } 401 395 402 /* Save data from cache to corresponding external object(s),403 * this task COULD be performed in other than GUI thread: */404 396 void UIMachineSettingsUSB::saveFromCacheTo(QVariant &data) 405 397 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsUSB.h
r65919 r66163 126 126 protected: 127 127 128 /* Load data tocache from corresponding external object(s),129 * this task COULD be performed in other than GUI thread:*/128 /** Loads data into the cache from corresponding external object(s), 129 * this task COULD be performed in other than the GUI thread. */ 130 130 void loadToCacheFrom(QVariant &data); 131 /* Load data to corresponding widgets fromcache,132 * this task SHOULD be performed in GUI thread only:*/131 /** Loads data into corresponding widgets from the cache, 132 * this task SHOULD be performed in the GUI thread only. */ 133 133 void getFromCache(); 134 134 135 /* Save data from corresponding widgets tocache,136 * this task SHOULD be performed in GUI thread only:*/135 /** Saves data from corresponding widgets to the cache, 136 * this task SHOULD be performed in the GUI thread only. */ 137 137 void putToCache(); 138 /* Save data fromcache to corresponding external object(s),139 * this task COULD be performed in other than GUI thread:*/138 /** Saves data from the cache to corresponding external object(s), 139 * this task COULD be performed in other than the GUI thread. */ 140 140 void saveFromCacheTo(QVariant &data); 141 141 142 /* Page changed:*/142 /** Returns whether the page content was changed. */ 143 143 bool changed() const { return m_cache.wasChanged(); } 144 144 145 /* API: Validation stuff:*/145 /** Performs validation, updates @a messages list if something is wrong. */ 146 146 bool validate(QList<UIValidationMessage> &messages); 147 147 148 void setOrderAfter (QWidget *aWidget); 148 /** Defines TAB order. */ 149 void setOrderAfter(QWidget *pWidget); 149 150 151 /** Handles translation event. */ 150 152 void retranslateUi(); 151 153
Note:
See TracChangeset
for help on using the changeset viewer.