Correctly override ModelObject::can*() virtual methods.
This commit is contained in:
@@ -168,7 +168,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Line Color Capability Implementation
|
/// Can Line Color Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelLineObject::canLineColor()
|
bool ModelLineObject::canLineColor() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -177,7 +177,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Line Width Capability Implementation
|
/// Can Line Width Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelLineObject::canLineWidth()
|
bool ModelLineObject::canLineWidth() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -89,8 +89,8 @@ namespace glabels
|
|||||||
// Capability Implementations
|
// Capability Implementations
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
public:
|
public:
|
||||||
virtual bool canLineColor();
|
bool canLineColor() const override;
|
||||||
virtual bool canLineWidth();
|
bool canLineWidth() const override;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -183,7 +183,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Fill Capability Implementation
|
/// Can Fill Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelShapeObject::canFill()
|
bool ModelShapeObject::canFill() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -192,7 +192,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Line Color Capability Implementation
|
/// Can Line Color Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelShapeObject::canLineColor()
|
bool ModelShapeObject::canLineColor() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -201,7 +201,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Line Width Capability Implementation
|
/// Can Line Width Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelShapeObject::canLineWidth()
|
bool ModelShapeObject::canLineWidth() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,9 +91,9 @@ namespace glabels
|
|||||||
// Capability Implementations
|
// Capability Implementations
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
public:
|
public:
|
||||||
virtual bool canFill();
|
bool canFill() const override;
|
||||||
virtual bool canLineColor();
|
bool canLineColor() const override;
|
||||||
virtual bool canLineWidth();
|
bool canLineWidth() const override;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
|
|||||||
@@ -453,7 +453,7 @@ namespace glabels
|
|||||||
///
|
///
|
||||||
/// Can Text Capability Implementation
|
/// Can Text Capability Implementation
|
||||||
///
|
///
|
||||||
bool ModelTextObject::canText()
|
bool ModelTextObject::canText() const
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ namespace glabels
|
|||||||
// Capability Implementations
|
// Capability Implementations
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
public:
|
public:
|
||||||
virtual bool canText();
|
bool canText() const override;
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user