CONNECT( ui.portSpin, valueChanged( int ), this, updateMRL() );
CONNECT( ui.addressText, textChanged( QString ), this, updateMRL());
CONNECT( ui.timeShift, clicked(), this, updateMRL());
- CONNECT( ui.ipv6, clicked(), this, updateMRL());
ui.protocolCombo->addItem( "" );
ui.protocolCombo->addItem("HTTP", QVariant("http"));
ui.timeShift->setEnabled( idx_proto == UDP_PROTO ||
idx_proto == UDPM_PROTO );
- ui.ipv6->setEnabled( idx_proto == UDP_PROTO );
ui.addressText->setEnabled( idx_proto != UDP_PROTO );
ui.portSpin->setEnabled( idx_proto == UDP_PROTO ||
idx_proto == UDPM_PROTO );
break;
case UDP_PROTO:
mrl = "udp://@";
- if( ui.ipv6->isEnabled() && ui.ipv6->isChecked() )
- {
- mrl += "[::]";
- }
mrl += QString(":%1").arg( ui.portSpin->value() );
emit methodChanged("udp-caching");
break;
</property>
</widget>
</item>
- <item>
- <widget class="QCheckBox" name="ipv6" >
- <property name="text" >
- <string>_("Force IPv6")</string>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
<tabstop>addressText</tabstop>
<tabstop>portSpin</tabstop>
<tabstop>timeShift</tabstop>
- <tabstop>ipv6</tabstop>
</tabstops>
<resources/>
<connections/>