From f23b3da1aea7e5c52edcc500344c1a2a10454174 Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Thu, 12 Mar 2015 00:01:55 +0000 Subject: [PATCH] refs #356 parseFromString is public in derived classes, so it should be public in the base class. --- src/blackmisc/valueobject.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blackmisc/valueobject.h b/src/blackmisc/valueobject.h index afb3af433..30571e59d 100644 --- a/src/blackmisc/valueobject.h +++ b/src/blackmisc/valueobject.h @@ -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 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