QbsPM: Use Qt5-style connects

The heavy lifting was done by clazy.

Change-Id: I841454b0815bc697ae2372dbc6d2caa59d7dc3e8
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-06-28 23:29:21 +03:00
committed by Orgad Shaneh
parent 76781b40a7
commit a22d8bcaa3
21 changed files with 152 additions and 134 deletions

View File

@@ -51,10 +51,12 @@ CustomQbsPropertiesDialog::CustomQbsPropertiesDialog(const QVariantMap &properti
m_ui->propertiesTable->setItem(currentRow, 1, valueItem);
++currentRow;
}
connect(m_ui->addButton, SIGNAL(clicked()), SLOT(addProperty()));
connect(m_ui->removeButton, SIGNAL(clicked()), SLOT(removeSelectedProperty()));
connect(m_ui->propertiesTable, SIGNAL(currentItemChanged(QTableWidgetItem*,QTableWidgetItem*)),
SLOT(handleCurrentItemChanged()));
connect(m_ui->addButton, &QAbstractButton::clicked,
this, &CustomQbsPropertiesDialog::addProperty);
connect(m_ui->removeButton, &QAbstractButton::clicked,
this, &CustomQbsPropertiesDialog::removeSelectedProperty);
connect(m_ui->propertiesTable, &QTableWidget::currentItemChanged,
this, &CustomQbsPropertiesDialog::handleCurrentItemChanged);
handleCurrentItemChanged();
}