Commit 3717c1e3 authored by Laurent Montel's avatar Laurent Montel 😁

KCombobox--

parent 1ccd6815
......@@ -53,7 +53,7 @@ SettingsAdvanced::SettingsAdvanced(QWidget *parent, const char *name) : QWidget(
}
connect(pbBackendConfigure, &QPushButton::clicked, this, &SettingsAdvanced::slotConfigureStorage);
connect(cbBackend, QOverload<int>::of(&KComboBox::activated), this, &SettingsAdvanced::slotFactorySelected);
connect(cbBackend, QOverload<int>::of(&QComboBox::activated), this, &SettingsAdvanced::slotFactorySelected);
connect(kcfg_UseMarkReadDelay, &QCheckBox::toggled, kcfg_MarkReadDelay, &KPluralHandlingSpinBox::setEnabled);
kcfg_MarkReadDelay->setSuffix(ki18ncp("Mark selected article read after", " second", " seconds"));
......
......@@ -40,7 +40,7 @@
</widget>
</item>
<item>
<widget class="KComboBox" name="cbBackend"/>
<widget class="QComboBox" name="cbBackend"/>
</item>
<item>
<widget class="QPushButton" name="pbBackendConfigure">
......@@ -140,7 +140,7 @@
</widget>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<class>QComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
......
......@@ -22,7 +22,7 @@
</widget>
</item>
<item row="0" column="1">
<widget class="KComboBox" name="kcfg_LMBBehaviour">
<widget class="QComboBox" name="kcfg_LMBBehaviour">
<item>
<property name="text">
<string>Open in Tab</string>
......@@ -48,7 +48,7 @@
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="kcfg_MMBBehaviour">
<widget class="QComboBox" name="kcfg_MMBBehaviour">
<item>
<property name="text">
<string>Open in Tab</string>
......@@ -177,7 +177,7 @@
</widget>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<class>QComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
......
......@@ -32,6 +32,7 @@
#include "treenodevisitor.h"
#include <QTimer>
#include <QPointer>
#include <cassert>
......
......@@ -40,10 +40,10 @@ FeedPropertiesWidget::FeedPropertiesWidget(QWidget *parent, const QString &name)
setObjectName(name);
setupUi(this);
connect(cb_updateInterval, &QCheckBox::toggled, updateSpinBox, &QSpinBox::setEnabled);
connect(cb_updateInterval, &QCheckBox::toggled, updateComboBox, &KComboBox::setEnabled);
connect(cb_updateInterval, &QCheckBox::toggled, updateComboBox, &QComboBox::setEnabled);
connect(cb_updateInterval, &QCheckBox::toggled, updateLabel, &QLabel::setEnabled);
connect(cb_updateInterval, &QCheckBox::toggled, this, &FeedPropertiesWidget::slotUpdateCheckBoxToggled);
connect(updateComboBox, QOverload<int>::of(&KComboBox::activated), this, &FeedPropertiesWidget::slotUpdateComboBoxActivated);
connect(updateComboBox, QOverload<int>::of(&QComboBox::activated), this, &FeedPropertiesWidget::slotUpdateComboBoxActivated);
connect(updateSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), this, &FeedPropertiesWidget::slotUpdateComboBoxLabels);
connect(rb_limitArticleAge, &QRadioButton::toggled, sb_maxArticleAge, &KPluralHandlingSpinBox::setEnabled);
connect(rb_limitArticleNumber, &QRadioButton::toggled, sb_maxArticleNumber, &KPluralHandlingSpinBox::setEnabled);
......
......@@ -130,7 +130,7 @@
</widget>
</item>
<item>
<widget class="KComboBox" name="updateComboBox">
<widget class="QComboBox" name="updateComboBox">
<property name="enabled">
<bool>false</bool>
</property>
......@@ -480,7 +480,7 @@
</widget>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<class>QComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment