Part: move to new style connect()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user