forked from qt-creator/qt-creator
Android: Use Qt5-style connects
The heavy lifting was done by clazy. Change-Id: Id09b62b7b9812d9c0981202c257d18387a8b09d9 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
c3acbc46ed
commit
88dfa84fc6
@@ -44,11 +44,14 @@ AndroidDeployQtWidget::AndroidDeployQtWidget(AndroidDeployQtStep *step)
|
||||
|
||||
m_ui->uninstallPreviousPackage->setChecked(m_step->uninstallPreviousPackage() > AndroidDeployQtStep::Keep);
|
||||
m_ui->uninstallPreviousPackage->setEnabled(m_step->uninstallPreviousPackage() != AndroidDeployQtStep::ForceUnintall);
|
||||
connect(m_ui->installMinistroButton, SIGNAL(clicked()), SLOT(installMinistro()));
|
||||
connect(m_ui->cleanLibsPushButton, SIGNAL(clicked()), SLOT(cleanLibsOnDevice()));
|
||||
connect(m_ui->resetDefaultDevices, SIGNAL(clicked()), SLOT(resetDefaultDevices()));
|
||||
connect(m_ui->uninstallPreviousPackage, SIGNAL(toggled(bool)),
|
||||
m_step, SLOT(setUninstallPreviousPackage(bool)));
|
||||
connect(m_ui->installMinistroButton, &QAbstractButton::clicked,
|
||||
this, &AndroidDeployQtWidget::installMinistro);
|
||||
connect(m_ui->cleanLibsPushButton, &QAbstractButton::clicked,
|
||||
this, &AndroidDeployQtWidget::cleanLibsOnDevice);
|
||||
connect(m_ui->resetDefaultDevices, &QAbstractButton::clicked,
|
||||
this, &AndroidDeployQtWidget::resetDefaultDevices);
|
||||
connect(m_ui->uninstallPreviousPackage, &QAbstractButton::toggled,
|
||||
m_step, &AndroidDeployQtStep::setUninstallPreviousPackage);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user