VirtualBox

Ignore:
Timestamp:
Apr 14, 2010 10:30:03 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60042
Message:

Devices, Main, FE/Qt: reverted r60036 for now

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r28287 r28290  
    21552155                    attType = attType.arg (tr ("Host-only adapter, '%1'",
    21562156                        "details report (network)").arg (adapter.GetHostInterface()));
    2157                                                                /* ENABLE VDE */
    2158                 else if (type == KNetworkAttachmentType_VDE)
    2159                     attType = attType.arg (tr ("VDE network, '%1'",
    2160                         "details report (network)").arg (adapter.GetVDENetwork()));
    2161                                                                /* /ENABLE VDE */
    21622157                else
    21632158                    attType = attType.arg (vboxGlobal().toString (type));
     
    31183113    mNetworkAttachmentTypes [KNetworkAttachmentType_HostOnly] =
    31193114        tr ("Host-only Adapter", "NetworkAttachmentType");
    3120                /* ENABLE VDE */
    3121     mNetworkAttachmentTypes [KNetworkAttachmentType_VDE] =
    3122         tr ("VDE Adapter", "NetworkAttachmentType");
    3123                /* /ENABLE VDE */
    31243115
    31253116    mClipboardTypes [KClipboardMode_Disabled] =
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.cpp

    r28287 r28290  
    105105            if (mHoiName.isEmpty()) mHoiName = QString::null;
    106106            break;
    107                                                /* ENABLE VDE */
    108         case KNetworkAttachmentType_VDE:
    109             mVDEName = mAdapter.GetVDENetwork();
    110             if (mVDEName.isEmpty()) mVDEName = QString::null;
    111             break;
    112                                                /* /ENABLE VDE */
    113107        default:
    114108            break;
     
    151145            mAdapter.AttachToHostOnlyInterface();
    152146            break;
    153                                                /* ENABLE VDE */
    154                                case KNetworkAttachmentType_VDE:
    155                                                mAdapter.SetVDENetwork (alternativeName());
    156                                                mAdapter.AttachToVDE();
    157                                                break;
    158                                                /* /ENABLE VDE */
    159147        default:
    160148            break;
     
    269257            result = mHoiName;
    270258            break;
    271                                                /* ENABLE VDE*/
    272         case KNetworkAttachmentType_VDE:
    273             result = mVDEName;
    274             break;
    275                                                /* /ENABLE VDE*/
    276259        default:
    277260            break;
     
    350333            mCbAdapterName->setEditable (false);
    351334            break;
    352                                                /* ENABLE VDE */
    353         case KNetworkAttachmentType_VDE:
    354                                                mCbAdapterName->insertItem(0, alternativeName());
    355             mCbAdapterName->setEditable (true);
    356             mCbAdapterName->setCompleter (0);
    357             break;
    358                                                /* /ENABLE VDE */
    359335        default:
    360336            break;
     
    456432            break;
    457433        }
    458                                /* ENABLE VDE */
    459         case KNetworkAttachmentType_VDE:
    460         {
    461             QString newName ((mCbAdapterName->itemData (mCbAdapterName->currentIndex()).toString() ==
    462                               QString (emptyItemCode) &&
    463                               mCbAdapterName->currentText() ==
    464                               mCbAdapterName->itemText (mCbAdapterName->currentIndex())) ||
    465                               mCbAdapterName->currentText().isEmpty() ?
    466                               QString::null : mCbAdapterName->currentText());
    467             if (mVDEName != newName)
    468                 mVDEName = newName;
    469             break;
    470         }
    471                                /* /ENABLE VDE */
    472434        default:
    473435            break;
     
    586548    mCbAttachmentType->setItemData (4,
    587549        mCbAttachmentType->itemText (4), Qt::ToolTipRole);
    588                /* ENABLE VDE */
    589     mCbAttachmentType->insertItem (5,
    590         vboxGlobal().toString (KNetworkAttachmentType_VDE));
    591     mCbAttachmentType->setItemData (5,
    592         KNetworkAttachmentType_VDE);
    593     mCbAttachmentType->setItemData (5,
    594         mCbAttachmentType->itemText (5), Qt::ToolTipRole);
    595                /* /ENABLE VDE */
    596550
    597551    /* Set the old value */
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.h

    r28287 r28290  
    7777    QString mIntName;
    7878    QString mHoiName;
    79                /* ENABLE VDE */
    80     QString mVDEName;
    81                /* /ENABLE VDE */
    8279
    8380    bool mPolished;
     
    9693    QStringList intList (bool aRefresh = false);
    9794    QStringList hoiList (bool aRefresh = false);
    98     QStringList vdeList (bool aRefresh = false);
    9995
    10096protected:
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/vm/VBoxVMSettingsNetwork.ui

    r28287 r28290  
    111111        </property>
    112112        <property name="whatsThis" >
    113          <string>Selects the name of the network adapter for &lt;b&gt;Bridged Adapter&lt;/b&gt; or &lt;b&gt;Host-only Adapter&lt;/b&gt; attachments and the name of the network &lt;b&gt;Internal Network&lt;/b&gt; or the switch for &lt;b&gt;VDE&lt;/b&gt; attachments.</string>
     113         <string>Selects the name of the network adapter for &lt;b&gt;Bridged Adapter&lt;/b&gt; or &lt;b&gt;Host-only Adapter&lt;/b&gt; attachments and the name of the network &lt;b&gt;Internal Network&lt;/b&gt; attachments.</string>
    114114        </property>
    115115       </widget>
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette