Cppcheck warnings.
This commit is contained in:
parent
0371905c0d
commit
453d120150
|
@ -38,7 +38,7 @@ class VPCarrouselPieceList : public QListWidget
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
VPCarrouselPieceList(QWidget* parent);
|
explicit VPCarrouselPieceList(QWidget* parent);
|
||||||
~VPCarrouselPieceList();
|
~VPCarrouselPieceList();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -41,7 +41,7 @@ public:
|
||||||
~VPGraphicsSheet();
|
~VPGraphicsSheet();
|
||||||
|
|
||||||
QRectF boundingRect() const override;
|
QRectF boundingRect() const override;
|
||||||
void paint(QPainter *painter, const QStyleOptionGraphicsItem *item, QWidget *widget) override;
|
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
|
||||||
|
|
||||||
|
|
||||||
QRectF GetSheetRect() const;
|
QRectF GetSheetRect() const;
|
||||||
|
|
|
@ -42,7 +42,7 @@ class VPPiece : public QObject, public VLayoutPiece
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
VPPiece();
|
VPPiece();
|
||||||
VPPiece(VLayoutPiece layoutPiece);
|
explicit VPPiece(VLayoutPiece layoutPiece);
|
||||||
|
|
||||||
~VPPiece();
|
~VPPiece();
|
||||||
|
|
||||||
|
|
|
@ -149,7 +149,7 @@ void VGraphicsSimpleTextItem::SetShowParentTooltip(bool show)
|
||||||
}
|
}
|
||||||
|
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VGraphicsSimpleTextItem::SetRealPos(QPointF pos)
|
void VGraphicsSimpleTextItem::SetRealPos(const QPointF &pos)
|
||||||
{
|
{
|
||||||
m_realPos = pos;
|
m_realPos = pos;
|
||||||
|
|
||||||
|
|
|
@ -63,7 +63,7 @@ public:
|
||||||
|
|
||||||
void SetShowParentTooltip(bool show);
|
void SetShowParentTooltip(bool show);
|
||||||
|
|
||||||
void SetRealPos(QPointF pos);
|
void SetRealPos(const QPointF &pos);
|
||||||
|
|
||||||
QColor BaseColor() const;
|
QColor BaseColor() const;
|
||||||
void SetBaseColor(const QColor &baseColor);
|
void SetBaseColor(const QColor &baseColor);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user