Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit dd17e190 authored by Laurent Montel's avatar Laurent Montel 😁

normalize signal/slot

parent f872c8ca
......@@ -387,7 +387,7 @@ KMFilterDialog::KMFilterDialog(const QList<KActionCollection *> &actionCollectio
this, &KMFilterDialog::slotDialogUpdated);
connect(mFilterList, &KMFilterListBox::filterOrderAltered, this, &KMFilterDialog::slotDialogUpdated);
connect(mPatternEdit, &MailCommon::SearchPatternEdit::patternChanged, this, &KMFilterDialog::slotDialogUpdated);
connect(mActionLister, SIGNAL(widgetAdded(QWidget *)), this, SLOT(slotDialogUpdated()));
connect(mActionLister, SIGNAL(widgetAdded(QWidget*)), this, SLOT(slotDialogUpdated()));
connect(mActionLister, SIGNAL(widgetRemoved()), this, SLOT(slotDialogUpdated()));
connect(mActionLister, &MailCommon::FilterActionWidgetLister::filterModified, this, &KMFilterDialog::slotDialogUpdated);
connect(mActionLister, &MailCommon::FilterActionWidgetLister::clearWidgets, this, &KMFilterDialog::slotDialogUpdated);
......
......@@ -642,8 +642,8 @@ void SearchPatternEdit::initLayout(SearchPatternEditOptions options, SearchModeT
}
//------------connect a few signals
connect(bg, SIGNAL(buttonClicked(QAbstractButton *)),
this, SLOT(slotRadioClicked(QAbstractButton *)));
connect(bg, SIGNAL(buttonClicked(QAbstractButton*)),
this, SLOT(slotRadioClicked(QAbstractButton*)));
//------------the list of SearchRuleWidget's
mRuleLister
......@@ -667,8 +667,8 @@ void SearchPatternEdit::initLayout(SearchPatternEditOptions options, SearchModeT
qCDebug(MAILCOMMON_LOG) << "No first SearchRuleWidget, though slotClear() has been called!";
}
connect(mRuleLister, SIGNAL(widgetAdded(QWidget *)),
this, SLOT(slotRuleAdded(QWidget *)));
connect(mRuleLister, SIGNAL(widgetAdded(QWidget*)),
this, SLOT(slotRuleAdded(QWidget*)));
connect(mRuleLister, SIGNAL(widgetRemoved()), this, SIGNAL(patternChanged()));
connect(mRuleLister, &KPIM::KWidgetLister::clearWidgets, this, &SearchPatternEdit::patternChanged);
......
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