Use override specifier where apropriate.

- fixed using clang-tidy's modernize-use-override check.
This commit is contained in:
Jim Evins
2017-03-21 23:36:39 -04:00
parent 9f9ba345cf
commit e09936233a
38 changed files with 202 additions and 202 deletions
+9 -9
View File
@@ -41,13 +41,13 @@ namespace glabels
public:
LabelModelLineObject();
LabelModelLineObject( const LabelModelLineObject* object );
virtual ~LabelModelLineObject();
~LabelModelLineObject() override;
///////////////////////////////////////////////////////////////
// Object duplication
///////////////////////////////////////////////////////////////
virtual LabelModelLineObject* clone() const;
LabelModelLineObject* clone() const override;
///////////////////////////////////////////////////////////////
@@ -57,15 +57,15 @@ namespace glabels
//
// Line Property: lineWidth
//
virtual Distance lineWidth( void ) const;
virtual void setLineWidth( const Distance& value );
Distance lineWidth( void ) const override;
void setLineWidth( const Distance& value ) override;
//
// Line Property: lineColorNode
//
virtual ColorNode lineColorNode( void ) const;
virtual void setLineColorNode( const ColorNode& value );
ColorNode lineColorNode( void ) const override;
void setLineColorNode( const ColorNode& value ) override;
///////////////////////////////////////////////////////////////
@@ -80,9 +80,9 @@ namespace glabels
// Drawing operations
///////////////////////////////////////////////////////////////
protected:
virtual void drawShadow( QPainter* painter, bool inEditor, merge::Record* record ) const;
virtual void drawObject( QPainter* painter, bool inEditor, merge::Record* record ) const;
virtual QPainterPath hoverPath( double scale ) const;
void drawShadow( QPainter* painter, bool inEditor, merge::Record* record ) const override;
void drawObject( QPainter* painter, bool inEditor, merge::Record* record ) const override;
QPainterPath hoverPath( double scale ) const override;
///////////////////////////////////////////////////////////////