- Timestamp:
- Aug 30, 2008 2:14:17 PM (16 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox4/include/VBoxVMSettingsNetwork.h
r11849 r11871 71 71 void naTypeChanged (const QString &aString); 72 72 void genMACClicked(); 73 #if def Q_WS_X1173 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 74 74 void tapSetupClicked(); 75 75 void tapTerminateClicked(); -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsNetwork.cpp
r11849 r11871 32 32 33 33 /* Qt Includes */ 34 #if def Q_WS_X1134 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 35 35 #include <QFileDialog> 36 36 #endif … … 64 64 65 65 /* Setup dialog for current platform */ 66 #if ndef Q_WS_X1166 #if !defined (Q_WS_X11) || defined (VBOX_WITH_NETFLT) 67 67 setTapVisible (false); 68 #endif 69 #ifdef Q_WS_X11 68 #else 70 69 /* Setup iconsets */ 71 70 mTbSetup_x11->setIcon (VBoxGlobal::iconSet (":/select_file_16px.png", … … 115 114 QString::null : aAdapter.GetHostInterface(); 116 115 #endif 117 #if def Q_WS_X11116 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 118 117 mLeInterface_x11->setText (aAdapter.GetHostInterface()); 119 118 mLeSetup_x11->setText (aAdapter.GetTAPSetupApplication()); … … 159 158 mAdapter.SetHostInterface (mInterfaceName); 160 159 #endif 161 #if def Q_WS_X11160 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 162 161 QString iface = mLeInterface_x11->text(); 163 162 mAdapter.SetHostInterface (iface.isEmpty() ? QString::null : iface); … … 194 193 mValidator, SLOT (revalidate())); 195 194 connect (mPbMAC, SIGNAL (clicked()), this, SLOT (genMACClicked())); 196 #if def Q_WS_X11195 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 197 196 connect (mTbSetup_x11, SIGNAL (clicked()), this, SLOT (tapSetupClicked())); 198 197 connect (mTbTerminate_x11, SIGNAL (clicked()), this, SLOT (tapTerminateClicked())); … … 269 268 mLbNetwork->setEnabled (enableIntNet); 270 269 mCbNetwork->setEnabled (enableIntNet); 271 #if def Q_WS_X11270 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 272 271 bool enableHostIf = vboxGlobal().toNetworkAttachmentType (aString) == 273 272 KNetworkAttachmentType_HostInterface; … … 284 283 } 285 284 286 #if def Q_WS_X11285 #if defined (Q_WS_X11) && !defined (VBOX_WITH_NETFLT) 287 286 void VBoxVMSettingsNetwork::tapSetupClicked() 288 287 {
Note:
See TracChangeset
for help on using the changeset viewer.