Commit 4e17be8b authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 9a94fd59
......@@ -130,8 +130,8 @@ FolderSelectionDialog::FolderSelectionDialog(QWidget *parent, SelectionFolderOpt
connect(d->folderTreeWidget->folderTreeWidgetProxyModel(), &QAbstractItemModel::rowsInserted,
this, &FolderSelectionDialog::rowsInserted);
connect(d->folderTreeWidget->folderTreeView(), SIGNAL(doubleClicked(QModelIndex)),
this, SLOT(slotDoubleClick(QModelIndex)));
connect(d->folderTreeWidget->folderTreeView(), QOverload<const QModelIndex &>::of(&QAbstractItemView::doubleClicked),
this, &FolderSelectionDialog::slotDoubleClick);
d->mUseGlobalSettings = !(options & NotUseGlobalSettings);
readConfig();
......
......@@ -71,8 +71,8 @@ FolderSettings::FolderSettings(const Akonadi::Collection &col, bool writeconfig)
mIdentity = KernelIf->identityManager()->defaultIdentity().uoid();
readConfig();
connect(KernelIf->identityManager(), SIGNAL(changed()),
this, SLOT(slotIdentitiesChanged()));
connect(KernelIf->identityManager(), QOverload<>::of(&KIdentityManagement::IdentityManager::changed),
this, &FolderSettings::slotIdentitiesChanged);
}
FolderSettings::~FolderSettings()
......
......@@ -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, QOverload<QAbstractButton*>::of(&QButtonGroup::buttonClicked),
this, &SearchPatternEdit::slotRadioClicked);
//------------the list of SearchRuleWidget's
mRuleLister
......
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