Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25a63f8750
commit 2e5cb03261
43 changed files with 237 additions and 246 deletions

View File

@@ -482,14 +482,14 @@ void TaskView::showDialog(TaskDialog *dlg)
TaskDialogAttorney::setButtonBox(dlg, ActiveCtrl->buttonBox);
// make connection to the needed signals
connect(ActiveCtrl->buttonBox,SIGNAL(accepted()),
this,SLOT(accept()));
connect(ActiveCtrl->buttonBox,SIGNAL(rejected()),
this,SLOT(reject()));
connect(ActiveCtrl->buttonBox,SIGNAL(helpRequested()),
this,SLOT(helpRequested()));
connect(ActiveCtrl->buttonBox,SIGNAL(clicked(QAbstractButton *)),
this,SLOT(clicked(QAbstractButton *)));
connect(ActiveCtrl->buttonBox, &QDialogButtonBox::accepted,
this, &TaskView::accept);
connect(ActiveCtrl->buttonBox, &QDialogButtonBox::rejected,
this, &TaskView::reject);
connect(ActiveCtrl->buttonBox, &QDialogButtonBox::helpRequested,
this, &TaskView::helpRequested);
connect(ActiveCtrl->buttonBox, &QDialogButtonBox::clicked,
this, &TaskView::clicked);
const std::vector<QWidget*>& cont = dlg->getDialogContent();