Commit 02c72402 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove QCombobox usage

parent ca3d3393
......@@ -71,8 +71,8 @@ MiscPageFolderTab::MiscPageFolderTab(QWidget *parent)
i18n(KMailSettings::self()->excludeImportantMailFromExpiryItem()->whatsThis().toUtf8().constData()));
connect(mMMTab.mExcludeImportantFromExpiry, &QCheckBox::stateChanged, this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mLoopOnGotoUnread, qOverload<int>(&KComboBox::activated), this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mActionEnterFolder, qOverload<int>(&KComboBox::activated), this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mLoopOnGotoUnread, qOverload<int>(&QComboBox::activated), this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mActionEnterFolder, qOverload<int>(&QComboBox::activated), this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mDelayedMarkTime, qOverload<int>(&QSpinBox::valueChanged), this, &MiscPageFolderTab::slotEmitChanged);
connect(mMMTab.mDelayedMarkAsRead, &QAbstractButton::toggled, mMMTab.mDelayedMarkTime, &QWidget::setEnabled);
connect(mMMTab.mDelayedMarkAsRead, &QAbstractButton::toggled, this, &ConfigModuleTab::slotEmitChanged);
......
......@@ -40,7 +40,7 @@
<widget class="QWidget" name="mOnStartupOpenFolder" native="true"/>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="mLoopOnGotoUnread">
<widget class="QComboBox" name="mLoopOnGotoUnread">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
......@@ -98,7 +98,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="mActionEnterFolder">
<widget class="QComboBox" name="mActionEnterFolder">
<item>
<property name="text">
<string>Jump to First Unread Message</string>
......@@ -198,13 +198,6 @@ p, li { white-space: pre-wrap; }
</item>
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
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