Changeset 17631 in vbox
- Timestamp:
- Mar 10, 2009 2:33:55 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r17475 r17631 299 299 300 300 #if defined Q_WS_WIN 301 void cannotCreateHostInterface (const CHost &host, const QString &name, 302 QWidget *parent = 0); 303 void cannotCreateHostInterface (const CProgress &progress, const QString &name, 304 QWidget *parent = 0); 305 void cannotRemoveHostInterface (const CHost &host, 306 const CHostNetworkInterface &iface, 307 QWidget *parent = 0); 308 void cannotRemoveHostInterface (const CProgress &progress, 309 const CHostNetworkInterface &iface, 310 QWidget *parent = 0); 301 int confirmDeletingHostInterface (const QString &aName, QWidget *aParent = 0); 302 void cannotCreateHostInterface (const CHost &aHost, const QString &aName, 303 QWidget *aParent = 0); 304 void cannotCreateHostInterface (const CProgress &aProgress, const QString &aName, 305 QWidget *aParent = 0); 306 void cannotRemoveHostInterface (const CHost &aHost, 307 const CHostNetworkInterface &aIface, 308 QWidget *aParent = 0); 309 void cannotRemoveHostInterface (const CProgress &aProgress, 310 const CHostNetworkInterface &aIface, 311 QWidget *aParent = 0); 311 312 #endif 312 313 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r17477 r17631 1422 1422 #if defined Q_WS_WIN 1423 1423 1424 int VBoxProblemReporter::confirmDeletingHostInterface (const QString &aName, 1425 QWidget *aParent) 1426 { 1427 return vboxProblem().message (aParent, VBoxProblemReporter::Question, 1428 tr ("<p>Do you want to remove the selected host network interface " 1429 "<nobr><b>%1</b>?</nobr></p>" 1430 "<p><b>Note:</b> This interface may be in use by one or more " 1431 "network adapters of this or another VM. After it is removed, these " 1432 "adapters will no longer work until you correct their settings by " 1433 "either choosing a different interface name or a different adapter " 1434 "attachment type.</p>").arg (aName), 1435 0, /* autoConfirmId */ 1436 QIMessageBox::Ok | QIMessageBox::Default, 1437 QIMessageBox::Cancel | QIMessageBox::Escape); 1438 } 1439 1424 1440 void VBoxProblemReporter::cannotCreateHostInterface ( 1425 1441 const CHost &host, const QString &name, QWidget *parent)
Note:
See TracChangeset
for help on using the changeset viewer.