Skip to content
Permalink
Browse files

Renamed some private vars to follow coding guidelines

  • Loading branch information
elpaso committed Dec 18, 2017
1 parent 4302910 commit 4dc5b5698ac605a70dc947ac4bfeb27c08fe61c4
@@ -31,7 +31,7 @@ void QgsLayoutNodesItem::setNodes( const QPolygonF &nodes )

QRectF QgsLayoutNodesItem::boundingRect() const
{
return currentRectangle;
return mCurrentRectangle;
}

double QgsLayoutNodesItem::estimatedFrameBleed() const
@@ -336,7 +336,7 @@ void QgsLayoutNodesItem::updateBoundingRect()
{
QRectF br = rect();
br.adjust( -mMaxSymbolBleed, -mMaxSymbolBleed, mMaxSymbolBleed, mMaxSymbolBleed );
currentRectangle = br;
mCurrentRectangle = br;

// update
prepareGeometryChange();
@@ -165,7 +165,7 @@ class CORE_EXPORT QgsLayoutNodesItem: public QgsLayoutItem
void updateSceneRect();

//! Current bounding rectangle of shape
QRectF currentRectangle;
QRectF mCurrentRectangle;

protected slots:

@@ -420,7 +420,7 @@ void QgsLayoutItemPolyline::updateBoundingRect()

double margin = std::max( mMaxSymbolBleed, computeMarkerMargin() );
br.adjust( -margin, -margin, margin, margin );
currentRectangle = br;
mCurrentRectangle = br;

// update
prepareGeometryChange();
@@ -261,6 +261,8 @@ class CORE_EXPORT QgsLayoutItemPolyline: public QgsLayoutNodesItem
double computeMarkerMargin() const;

friend class TestQgsLayoutPolyline;
friend class QgsCompositionConverter;

};

#endif // QGSLAYOUTITEMPOLYLINE_H

0 comments on commit 4dc5b56

Please sign in to comment.
You can’t perform that action at this time.