refs #413 Access control of convertToQString changed from protected to public.

This commit is contained in:
Mathew Sutcliffe
2015-04-30 21:11:12 +01:00
parent 97d83e5e41
commit b64ae55a86
61 changed files with 24 additions and 78 deletions

View File

@@ -222,8 +222,10 @@ namespace BlackMisc
//! \copydoc CValueObject::setPropertyByIndex
virtual void setPropertyByIndex(const CVariant &variant, const BlackMisc::CPropertyIndex &index) override;
protected:
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const override;
protected:
//! Default constructor
//! \todo Remove as part of MS' CValueObject refactoring
CPhysicalQuantity();
@@ -234,9 +236,6 @@ namespace BlackMisc
//! Constructor by parsed string, e.g. 10m
CPhysicalQuantity(const QString &unitString);
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const override;
private:
double m_value; //!< numeric part
MU m_unit; //!< unit part