mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 22:55:41 +08:00
refs #356 parseFromString is public in derived classes, so it should be public in the base class.
This commit is contained in:
@@ -209,6 +209,9 @@ namespace BlackMisc
|
|||||||
//! Is given variant equal to value of property index?
|
//! Is given variant equal to value of property index?
|
||||||
virtual bool equalsPropertyByIndex(const CVariant &compareValue, const CPropertyIndex &index) const;
|
virtual bool equalsPropertyByIndex(const CVariant &compareValue, const CPropertyIndex &index) const;
|
||||||
|
|
||||||
|
//! Parse from string, e.g. 100km/h
|
||||||
|
virtual void parseFromString(const QString &) { qFatal("Not implemented"); }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
friend struct Private::CValueObjectMetaInfo;
|
friend struct Private::CValueObjectMetaInfo;
|
||||||
@@ -252,9 +255,6 @@ namespace BlackMisc
|
|||||||
|
|
||||||
//! Unmarshall from DBus
|
//! Unmarshall from DBus
|
||||||
virtual void unmarshallFromDbus(const QDBusArgument &) = 0;
|
virtual void unmarshallFromDbus(const QDBusArgument &) = 0;
|
||||||
|
|
||||||
//! Parse from string, e.g. 100km/h
|
|
||||||
virtual void parseFromString(const QString &) { qFatal("Not implemented"); }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
//! \private FIXME defined out-of-line because it depends on CValueObject
|
//! \private FIXME defined out-of-line because it depends on CValueObject
|
||||||
|
|||||||
Reference in New Issue
Block a user