mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 17:55:34 +08:00
refs #413 Make all value class methods non-virtual.
toCVariant() and convertFromCVariant() are now deprecated, use CVariant::from() and CVariant::to() instead.
This commit is contained in:
@@ -55,7 +55,7 @@ namespace BlackMisc
|
||||
LATorLON operator *(double multiply) const;
|
||||
|
||||
//! \copydoc CValueObject::toIcon
|
||||
CIcon toIcon() const override;
|
||||
CIcon toIcon() const;
|
||||
|
||||
/*!
|
||||
* Latitude / Longitude from a WGS string such as
|
||||
@@ -76,7 +76,7 @@ namespace BlackMisc
|
||||
|
||||
public:
|
||||
//! \copydoc CValueObject::convertToQString
|
||||
virtual QString convertToQString(bool i18n = false) const override;
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
private:
|
||||
//! Easy access to derived class (CRTP template parameter)
|
||||
|
||||
Reference in New Issue
Block a user