refs #91 & #124 using override and \copydoc throughout blackmisc

This commit is contained in:
Mathew Sutcliffe
2014-02-16 23:52:42 +00:00
parent 3c8d4819e9
commit 35e0c3e085
49 changed files with 405 additions and 689 deletions

View File

@@ -44,7 +44,7 @@ namespace BlackMisc
/*!
* \copydoc CValueObject::toQVariant
*/
virtual QVariant toQVariant() const
virtual QVariant toQVariant() const override
{
return QVariant::fromValue(*this);
}
@@ -79,7 +79,7 @@ namespace BlackMisc
/*!
* \copydoc CValueObject::getValueHash
*/
virtual uint getValueHash() const;
virtual uint getValueHash() const override;
/*!
* \brief Register metadata
@@ -117,35 +117,23 @@ namespace BlackMisc
static const QStringList &codePairs();
protected:
/*!
* \copydoc CValueObject::convertToQString
*/
virtual QString convertToQString(bool i18n = false) const;
//! \copydoc CValueObject::convertToQString
virtual QString convertToQString(bool i18n = false) const override;
/*!
* \copydoc CValueObject::getMetaTypeId
*/
virtual int getMetaTypeId() const;
//! \copydoc CValueObject::getMetaTypeId
virtual int getMetaTypeId() const override;
/*!
* \copydoc CValueObject::isA
*/
virtual bool isA(int metaTypeId) const;
//! \copydoc CValueObject::isA
virtual bool isA(int metaTypeId) const override;
/*!
* \copydoc CValueObject::compareImpl
*/
virtual int compareImpl(const CValueObject &other) const;
//! \copydoc CValueObject::compareImpl
virtual int compareImpl(const CValueObject &other) const override;
/*!
* \copydoc CValueObject::marshallToDbus
*/
virtual void marshallToDbus(QDBusArgument &argument) const;
//! \copydoc CValueObject::marshallToDbus
virtual void marshallToDbus(QDBusArgument &argument) const override;
/*!
* \copydoc CValueObject::unmarshallFromDbus
*/
virtual void unmarshallFromDbus(const QDBusArgument &argument);
//! \copydoc CValueObject::unmarshallFromDbus
virtual void unmarshallFromDbus(const QDBusArgument &argument) override;
private:
QString m_code;