Changeset 51447 in vbox for trunk/src/VBox
- Timestamp:
- May 28, 2014 1:38:38 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 94010
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extradata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r51402 r51447 160 160 161 161 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 162 bool UIExtraDataManager::shouldWeAllowApplicationUpdate() const 163 { 164 /* Allow unless 'forbidden' flag is set: */ 165 return !isFeatureAllowed(GUI_PreventApplicationUpdate); 166 } 167 162 168 QString UIExtraDataManager::applicationUpdateData() const 163 169 { … … 266 272 return extraDataStringList(GUI_InvertMessageOption); 267 273 } 268 269 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER270 bool UIExtraDataManager::shouldWeAllowApplicationUpdate() const271 {272 /* Allow unless 'forbidden' flag is set: */273 return !isFeatureAllowed(GUI_PreventApplicationUpdate);274 }275 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */276 274 277 275 WizardMode UIExtraDataManager::modeForWizard(WizardType type) -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r51401 r51447 77 77 78 78 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 79 /** Returns last application update date. */ 79 /** Returns whether we should allow Application Update. */ 80 bool shouldWeAllowApplicationUpdate() const; 81 /** Returns last Application Update date. */ 80 82 QString applicationUpdateData() const; 81 /** Defines last application update date as @a strValue. */83 /** Defines last Application Update date as @a strValue. */ 82 84 void setApplicationUpdateData(const QString &strValue); 83 /** Returns application update check counter. */85 /** Returns Application Update check counter. */ 84 86 qulonglong applicationUpdateCheckCounter() const; 85 /** Increments application update check counter. */87 /** Increments Application Update check counter. */ 86 88 void incrementApplicationUpdateCheckCounter(); 87 89 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */ … … 120 122 /** Returns list of the messages for the Message/Popup center frameworks with inverted check-box state. */ 121 123 QStringList messagesWithInvertedOption() const; 122 123 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER124 /** Returns whether we should allow Application Update. */125 bool shouldWeAllowApplicationUpdate() const;126 #endif /* VBOX_GUI_WITH_NETWORK_MANAGER */127 124 128 125 /** Returns mode (basic/expert) for wizard of @a type. */
Note:
See TracChangeset
for help on using the changeset viewer.