mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
refs #413 Access control of convertToQString changed from protected to public.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user