Changeset 68411 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 14, 2017 12:13:30 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117550
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r68394 r68411 481 481 "VirtualBox Manager window, and select one of the existing languages on the <b>Language</b> page.</p>") 482 482 .arg(strLangFile)); 483 }484 485 void UIMessageCenter::cannotSaveGlobalConfig(const CVirtualBox &vbox) const486 {487 error(0, MessageType_Critical,488 tr("<p>Failed to save the global GUI configuration to <b><nobr>%1</nobr></b>.</p>"489 "<p>The application will now terminate.</p>")490 .arg(CVirtualBox(vbox).GetSettingsFilePath()),491 formatErrorInfo(vbox));492 483 } 493 484 … … 1012 1003 QString() /* cancel button text */, 1013 1004 false /* ok button by default? */); 1014 }1015 1016 void UIMessageCenter::cannotCreateNATNetwork(const CVirtualBox &vbox, QWidget *pParent /* = 0*/)1017 {1018 error(pParent, MessageType_Error,1019 tr("Failed to create NAT network."),1020 formatErrorInfo(vbox));1021 }1022 1023 void UIMessageCenter::cannotRemoveNATNetwork(const CVirtualBox &vbox, const QString &strNetworkName, QWidget *pParent /* = 0*/)1024 {1025 error(pParent, MessageType_Error,1026 tr("Failed to remove NAT network <b>%1</b>.")1027 .arg(strNetworkName),1028 formatErrorInfo(vbox));1029 1005 } 1030 1006 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.h
r67969 r68411 165 165 void cannotFindLanguage(const QString &strLangId, const QString &strNlsPath) const; 166 166 void cannotLoadLanguage(const QString &strLangFile) const; 167 void cannotSaveGlobalConfig(const CVirtualBox &vbox) const;168 167 void cannotFindMachineByName(const CVirtualBox &vbox, const QString &strName) const; 169 168 void cannotFindMachineById(const CVirtualBox &vbox, const QString &strId) const; … … 222 221 /* API: Global settings warnings: */ 223 222 bool confirmNATNetworkRemoval(const QString &strName, QWidget *pParent = 0) const; 224 void cannotCreateNATNetwork(const CVirtualBox &vbox, QWidget *pParent = 0);225 void cannotRemoveNATNetwork(const CVirtualBox &vbox, const QString &strNetworkName, QWidget *pParent = 0);226 223 void cannotSetSystemProperties(const CSystemProperties &properties, QWidget *pParent = 0) const; 227 224
Note:
See TracChangeset
for help on using the changeset viewer.