VirtualBox

Changeset 11871 in vbox for trunk/src


Ignore:
Timestamp:
Aug 30, 2008 2:14:17 PM (16 years ago)
Author:
vboxsync
Message:

Remove the TAP fields (VBOX_WITH_NETFLT).

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsNetwork.h

    r11849 r11871  
    7171    void naTypeChanged (const QString &aString);
    7272    void genMACClicked();
    73 #ifdef Q_WS_X11
     73#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    7474    void tapSetupClicked();
    7575    void tapTerminateClicked();
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsNetwork.cpp

    r11849 r11871  
    3232
    3333/* Qt Includes */
    34 #ifdef Q_WS_X11
     34#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    3535#include <QFileDialog>
    3636#endif
     
    6464
    6565    /* Setup dialog for current platform */
    66 #ifndef Q_WS_X11
     66#if !defined (Q_WS_X11) || defined (VBOX_WITH_NETFLT)
    6767    setTapVisible (false);
    68 #endif
    69 #ifdef Q_WS_X11
     68#else
    7069    /* Setup iconsets */
    7170    mTbSetup_x11->setIcon (VBoxGlobal::iconSet (":/select_file_16px.png",
     
    115114                     QString::null : aAdapter.GetHostInterface();
    116115#endif
    117 #ifdef Q_WS_X11
     116#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    118117    mLeInterface_x11->setText (aAdapter.GetHostInterface());
    119118    mLeSetup_x11->setText (aAdapter.GetTAPSetupApplication());
     
    159158        mAdapter.SetHostInterface (mInterfaceName);
    160159#endif
    161 #ifdef Q_WS_X11
     160#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    162161        QString iface = mLeInterface_x11->text();
    163162        mAdapter.SetHostInterface (iface.isEmpty() ? QString::null : iface);
     
    194193             mValidator, SLOT (revalidate()));
    195194    connect (mPbMAC, SIGNAL (clicked()), this, SLOT (genMACClicked()));
    196 #ifdef Q_WS_X11
     195#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    197196    connect (mTbSetup_x11, SIGNAL (clicked()), this, SLOT (tapSetupClicked()));
    198197    connect (mTbTerminate_x11, SIGNAL (clicked()), this, SLOT (tapTerminateClicked()));
     
    269268    mLbNetwork->setEnabled (enableIntNet);
    270269    mCbNetwork->setEnabled (enableIntNet);
    271 #ifdef Q_WS_X11
     270#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    272271    bool enableHostIf = vboxGlobal().toNetworkAttachmentType (aString) ==
    273272                        KNetworkAttachmentType_HostInterface;
     
    284283}
    285284
    286 #ifdef Q_WS_X11
     285#if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT)
    287286void VBoxVMSettingsNetwork::tapSetupClicked()
    288287{
Note: See TracChangeset for help on using the changeset viewer.

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