[Gui] C++ preparation for deprecation of QCheckBox…
…stateChanged -> checkStateChanged
This commit is contained in:
@@ -199,6 +199,28 @@ void DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked()
|
||||
|
||||
void DlgPrefsTechDrawAdvancedImp::makeBalloonBoxConnections()
|
||||
{
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6,7,0)
|
||||
connect(ui->cbBalloonDefault,
|
||||
&QCheckBox::checkStateChanged,
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
connect(ui->cbBalloonShift,
|
||||
&QCheckBox::checkStateChanged,
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
connect(ui->cbBalloonControl,
|
||||
&QCheckBox::checkStateChanged,
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
connect(ui->cbBalloonAlt,
|
||||
&QCheckBox::checkStateChanged,
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
connect(ui->cbBalloonMeta,
|
||||
&QCheckBox::checkStateChanged,
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
#else
|
||||
connect(ui->cbBalloonDefault,
|
||||
qOverload<int>(&QCheckBox::stateChanged),
|
||||
this,
|
||||
@@ -219,6 +241,7 @@ void DlgPrefsTechDrawAdvancedImp::makeBalloonBoxConnections()
|
||||
qOverload<int>(&QCheckBox::stateChanged),
|
||||
this,
|
||||
&DlgPrefsTechDrawAdvancedImp::slotBalloonBoxChecked);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user