mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 04:35:41 +08:00
API fix: CPhysicalQuantity::setValueSameUnit() is supposed to be public
This commit is contained in:
@@ -71,12 +71,6 @@ protected:
|
|||||||
return this->valueRoundedWithUnit(this->getUnit(), -1, i18n);
|
return this->valueRoundedWithUnit(this->getUnit(), -1, i18n);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
|
||||||
* \brief Change value without changing unit
|
|
||||||
* \param value
|
|
||||||
*/
|
|
||||||
void setValueSameUnit(double value);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*!
|
/*!
|
||||||
* \brief Virtual destructor
|
* \brief Virtual destructor
|
||||||
@@ -153,6 +147,12 @@ public:
|
|||||||
return this->valueRoundedWithUnit(this->m_unit, digits, i18n);
|
return this->valueRoundedWithUnit(this->m_unit, digits, i18n);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief Change value without changing unit
|
||||||
|
* \param value
|
||||||
|
*/
|
||||||
|
void setValueSameUnit(double value);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Add to the value in the current unit.
|
* \brief Add to the value in the current unit.
|
||||||
* \param value
|
* \param value
|
||||||
|
|||||||
Reference in New Issue
Block a user