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 8111fe3a authored by Laurent Montel's avatar Laurent Montel 😁

Port to new connect api

parent 80e27afa
......@@ -339,8 +339,8 @@ MultiAgendaViewConfigDialog::MultiAgendaViewConfigDialog(QAbstractItemModel *bas
this, &MultiAgendaViewConfigDialog::currentChanged);
connect(d->ui.useCustomRB, &QAbstractButton::toggled,
this, &MultiAgendaViewConfigDialog::useCustomToggled);
connect(d->ui.columnNumberSB, SIGNAL(valueChanged(int)),
this, SLOT(numberOfColumnsChanged(int)));
connect(d->ui.columnNumberSB, QOverload<int>::of(&QSpinBox::valueChanged),
this, &MultiAgendaViewConfigDialog::numberOfColumnsChanged);
connect(d->ui.titleLE, &QLineEdit::textEdited,
this, &MultiAgendaViewConfigDialog::titleEdited);
d->setUpColumns(numberOfColumns());
......
......@@ -45,7 +45,7 @@ KOTodoView::KOTodoView(bool sidebarView, QWidget *parent)
sidebarView, parent);
QVBoxLayout *layout = new QVBoxLayout(this);
layout->addWidget(mView);
connect(mView, SIGNAL(printTodo()), SLOT(printTodo()));
connect(mView, &EventViews::TodoView::printTodo, this, [this]() { printTodo();});
connect(mView, &EventViews::TodoView::printPreviewTodo, this, &KOTodoView::printPreviewTodo);
connect(mView, &EventViews::TodoView::purgeCompletedSignal, this, &KOTodoView::purgeCompletedSignal);
......
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