Part: move to new style connect()

This commit is contained in:
wmayer
2023-01-13 17:14:07 +01:00
parent c252e611f2
commit 0680121bd1
10 changed files with 103 additions and 92 deletions

View File

@@ -86,10 +86,10 @@ DlgBooleanOperation::DlgBooleanOperation(QWidget* parent)
: QWidget(parent), ui(new Ui_DlgBooleanOperation)
{
ui->setupUi(this);
connect(ui->firstShape, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)),
this, SLOT(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)));
connect(ui->secondShape, SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)),
this, SLOT(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)));
connect(ui->firstShape, &QTreeWidget::currentItemChanged,
this, &DlgBooleanOperation::currentItemChanged);
connect(ui->secondShape, &QTreeWidget::currentItemChanged,
this, &DlgBooleanOperation::currentItemChanged);
this->connectNewObject = App::GetApplication().signalNewObject.connect(boost::bind
(&DlgBooleanOperation::slotCreatedObject, this, bp::_1));
this->connectModObject = App::GetApplication().signalChangedObject.connect(boost::bind