Changeset View
Changeset View
Standalone View
Standalone View
libs/editor/settings/bondwidget.cpp
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Line(s) | 43 | { | |||
---|---|---|---|---|---|
70 | 70 | | |||
71 | // bonds | 71 | // bonds | ||
72 | populateBonds(); | 72 | populateBonds(); | ||
73 | connect(m_ui->bonds, &QListWidget::currentItemChanged, this, &BondWidget::currentBondChanged); | 73 | connect(m_ui->bonds, &QListWidget::currentItemChanged, this, &BondWidget::currentBondChanged); | ||
74 | connect(m_ui->bonds, &QListWidget::itemDoubleClicked, this, &BondWidget::editBond); | 74 | connect(m_ui->bonds, &QListWidget::itemDoubleClicked, this, &BondWidget::editBond); | ||
75 | 75 | | |||
76 | connect(m_ui->ifaceName, &KLineEdit::textChanged, this, &BondWidget::slotWidgetChanged); | 76 | connect(m_ui->ifaceName, &KLineEdit::textChanged, this, &BondWidget::slotWidgetChanged); | ||
77 | connect(m_ui->arpTargets, &KLineEdit::textChanged, this, &BondWidget::slotWidgetChanged); | 77 | connect(m_ui->arpTargets, &KLineEdit::textChanged, this, &BondWidget::slotWidgetChanged); | ||
78 | connect(m_ui->linkMonitoring, static_cast<void (KComboBox::*)(int)>(&KComboBox::currentIndexChanged), this, &BondWidget::slotWidgetChanged); | 78 | connect(m_ui->linkMonitoring, QOverload<int>::of(&KComboBox::currentIndexChanged), this, &BondWidget::slotWidgetChanged); | ||
79 | 79 | | |||
80 | // Connect for setting check | 80 | // Connect for setting check | ||
81 | watchChangedSetting(); | 81 | watchChangedSetting(); | ||
82 | 82 | | |||
83 | KAcceleratorManager::manage(this); | 83 | KAcceleratorManager::manage(this); | ||
84 | KAcceleratorManager::manage(m_menu); | 84 | KAcceleratorManager::manage(m_menu); | ||
85 | 85 | | |||
86 | if (setting) { | 86 | if (setting) { | ||
▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines |