forked from qt-creator/qt-creator
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:
committed by
Orgad Shaneh
parent
76781b40a7
commit
a22d8bcaa3
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user