mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +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?
|
||||
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:
|
||||
template <typename T>
|
||||
friend struct Private::CValueObjectMetaInfo;
|
||||
@@ -252,9 +255,6 @@ namespace BlackMisc
|
||||
|
||||
//! Unmarshall from DBus
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user