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

@@ -175,7 +175,6 @@ namespace BlackMisc
//! Coordinate by WGS84 position data
static CCoordinateGeodetic fromWgs84(const QString &latitudeWgs84, const QString &longitudeWgs84, const BlackMisc::PhysicalQuantities::CLength &geodeticHeight = {});
protected:
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const override;

View File

@@ -74,6 +74,7 @@ namespace BlackMisc
//! Init by CAngle value
CEarthAngle(const BlackMisc::PhysicalQuantities::CAngle &angle);
public:
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const override;

View File

@@ -31,7 +31,7 @@ namespace BlackMisc
//! Latitude
class BLACKMISC_EXPORT CLatitude : public CValueObject<CLatitude, CEarthAngle<CLatitude>>
{
protected:
public:
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const
{
@@ -43,7 +43,6 @@ namespace BlackMisc
return s;
}
public:
//! Default constructor
CLatitude() = default;

View File

@@ -30,7 +30,7 @@ namespace BlackMisc
//! Longitude
class BLACKMISC_EXPORT CLongitude : public CValueObject<CLongitude, CEarthAngle<CLongitude>>
{
protected:
public:
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const
{
@@ -40,7 +40,6 @@ namespace BlackMisc
return s;
}
public:
//! Default constructor
CLongitude() = default;