Skip to content

Commit

Permalink
Wrap QgsMapCanvasMap in PRIVATE condition to avoid sip/doc testing
Browse files Browse the repository at this point in the history
  • Loading branch information
wonder-sk committed Jul 24, 2016
1 parent ab4a83b commit 0974f0b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/gui/qgsmapcanvasmap.cpp
Expand Up @@ -20,6 +20,8 @@

#include <QPainter>

/// @cond PRIVATE

QgsMapCanvasMap::QgsMapCanvasMap( QgsMapCanvas* canvas )
: QgsMapCanvasItem( canvas )
{
Expand Down Expand Up @@ -74,3 +76,5 @@ void QgsMapCanvasMap::paint( QPainter* painter )
painter->drawRoundedRect( br, rad, rad );
#endif
}

/// @endcond
5 changes: 4 additions & 1 deletion src/gui/qgsmapcanvasmap.h
Expand Up @@ -21,11 +21,12 @@
class QgsMapSettings;
class QgsMapCanvas;

/// @cond PRIVATE

/** \ingroup gui
* A rectangular graphics item representing the map on the canvas.
*
* @note This class is not a part of public API
* @note not available in Python bindings
*/
class QgsMapCanvasMap : public QgsMapCanvasItem
{
Expand All @@ -49,4 +50,6 @@ class QgsMapCanvasMap : public QgsMapCanvasItem
QImage mImage;
};

/// @endcond

#endif

0 comments on commit 0974f0b

Please sign in to comment.