Changeset View
Changeset View
Standalone View
Standalone View
libs/editor/settings/wiredconnectionwidget.cpp
Show All 40 Lines | 31 | { | |||
---|---|---|---|---|---|
41 | 41 | | |||
42 | // Connect for setting check | 42 | // Connect for setting check | ||
43 | watchChangedSetting(); | 43 | watchChangedSetting(); | ||
44 | 44 | | |||
45 | // Connect for validity check | 45 | // Connect for validity check | ||
46 | connect(m_widget->autonegotiate, &QCheckBox::stateChanged, this, &WiredConnectionWidget::slotWidgetChanged); | 46 | connect(m_widget->autonegotiate, &QCheckBox::stateChanged, this, &WiredConnectionWidget::slotWidgetChanged); | ||
47 | connect(m_widget->clonedMacAddress, &KLineEdit::textChanged, this, &WiredConnectionWidget::slotWidgetChanged); | 47 | connect(m_widget->clonedMacAddress, &KLineEdit::textChanged, this, &WiredConnectionWidget::slotWidgetChanged); | ||
48 | connect(m_widget->macAddress, &HwAddrComboBox::hwAddressChanged, this, &WiredConnectionWidget::slotWidgetChanged); | 48 | connect(m_widget->macAddress, &HwAddrComboBox::hwAddressChanged, this, &WiredConnectionWidget::slotWidgetChanged); | ||
49 | connect(m_widget->speed, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this, &WiredConnectionWidget::slotWidgetChanged); | 49 | connect(m_widget->speed, QOverload<int>::of(&QSpinBox::valueChanged), this, &WiredConnectionWidget::slotWidgetChanged); | ||
50 | 50 | | |||
51 | KAcceleratorManager::manage(this); | 51 | KAcceleratorManager::manage(this); | ||
52 | 52 | | |||
53 | if (setting) { | 53 | if (setting) { | ||
54 | loadConfig(setting); | 54 | loadConfig(setting); | ||
55 | } | 55 | } | ||
56 | } | 56 | } | ||
57 | 57 | | |||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |