You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/filesharing/advanced/kcm_sambaconf/socketoptionsdlg.ui

333 lines
13 KiB

<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
<class>SocketOptionsDlg</class>
<comment>
/******************************************************************************
* *
* This file is part of KSambaPlugin. *
* *
* KSambaPlugin is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* KSambaPlugin is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with KSambaPlugin; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
* *
******************************************************************************/
</comment>
<widget class="TQDialog">
<property name="name">
<cstring>SocketOptionsDlg</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>457</width>
<height>240</height>
</rect>
</property>
<property name="caption">
<string>Socket Options</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout106</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQCheckBox" row="2" column="1">
<property name="name">
<cstring>SO_SNDLOWATChk</cstring>
</property>
<property name="text">
<string>SO_SNDLOWAT:</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="0">
<property name="name">
<cstring>IPTOS_THROUGHPUTChk</cstring>
</property>
<property name="text">
<string>IPTOS_THROUGHPUT</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>SO_SNDBUFChk</cstring>
</property>
<property name="text">
<string>SO_SNDBUF:</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="0">
<property name="name">
<cstring>SO_KEEPALIVEChk</cstring>
</property>
<property name="text">
<string>SO_KEEPALIVE</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>SO_RCVBUFChk</cstring>
</property>
<property name="text">
<string>SO_RCVBUF:</string>
</property>
</widget>
<widget class="TQSpinBox" row="0" column="2">
<property name="name">
<cstring>SO_SNDBUFSpin</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>100000</number>
</property>
</widget>
<widget class="TQSpinBox" row="3" column="2">
<property name="name">
<cstring>SO_RCVLOWATSpin</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>100000</number>
</property>
</widget>
<widget class="TQCheckBox" row="5" column="0">
<property name="name">
<cstring>SO_BROADCASTChk</cstring>
</property>
<property name="text">
<string>SO_BROADCAST</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>IPTOS_LOWDELAYChk</cstring>
</property>
<property name="text">
<string>IPTOS_LOWDELAY</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>TCP_NODELAYChk</cstring>
</property>
<property name="text">
<string>TCP_NODELAY</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="1">
<property name="name">
<cstring>SO_RCVLOWATChk</cstring>
</property>
<property name="text">
<string>SO_RCVLOWAT:</string>
</property>
</widget>
<widget class="TQSpinBox" row="1" column="2">
<property name="name">
<cstring>SO_RCVBUFSpin</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>100000</number>
</property>
</widget>
<widget class="TQSpinBox" row="2" column="2">
<property name="name">
<cstring>SO_SNDLOWATSpin</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="maxValue">
<number>100000</number>
</property>
</widget>
<widget class="TQCheckBox" row="4" column="0">
<property name="name">
<cstring>SO_REUSEADDRChk</cstring>
</property>
<property name="text">
<string>SO_REUSEADDR</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQFrame">
<property name="name">
<cstring>Frame8</cstring>
</property>
<property name="frameShape">
<enum>HLine</enum>
</property>
<property name="frameShadow">
<enum>Sunken</enum>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>F1</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>SocketOptionsDlg</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>SocketOptionsDlg</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>SO_RCVLOWATChk</sender>
<signal>toggled(bool)</signal>
<receiver>SO_RCVLOWATSpin</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>SO_SNDLOWATChk</sender>
<signal>toggled(bool)</signal>
<receiver>SO_SNDLOWATSpin</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>SO_RCVBUFChk</sender>
<signal>toggled(bool)</signal>
<receiver>SO_RCVBUFSpin</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>SO_SNDBUFChk</sender>
<signal>toggled(bool)</signal>
<receiver>SO_SNDBUFSpin</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">assert.h</include>
<include location="local" impldecl="in implementation">sambashare.h</include>
<include location="local" impldecl="in implementation">socketoptionsdlg.ui.h</include>
</includes>
<forwards>
<forward>class SambaShare;</forward>
</forwards>
<variables>
<variable>SambaShare* _share;</variable>
</variables>
<slots>
<slot>setShare( SambaShare * share )</slot>
<slot access="private" returnType="bool">getBoolValue( const TQString &amp; str, const TQString &amp; name )</slot>
<slot access="private" returnType="int">getIntValue( const TQString &amp; str, const TQString &amp; name )</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
</UI>