Wrap QgsMapCanvasMap in PRIVATE condition to avoid sip/doc testing

This commit is contained in:
Martin Dobias 2016-07-24 22:44:23 +02:00
parent ab4a83b49b
commit 0974f0b81b
2 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,8 @@
#include <QPainter> #include <QPainter>
/// @cond PRIVATE
QgsMapCanvasMap::QgsMapCanvasMap( QgsMapCanvas* canvas ) QgsMapCanvasMap::QgsMapCanvasMap( QgsMapCanvas* canvas )
: QgsMapCanvasItem( canvas ) : QgsMapCanvasItem( canvas )
{ {
@ -74,3 +76,5 @@ void QgsMapCanvasMap::paint( QPainter* painter )
painter->drawRoundedRect( br, rad, rad ); painter->drawRoundedRect( br, rad, rad );
#endif #endif
} }
/// @endcond

View File

@ -21,11 +21,12 @@
class QgsMapSettings; class QgsMapSettings;
class QgsMapCanvas; class QgsMapCanvas;
/// @cond PRIVATE
/** \ingroup gui /** \ingroup gui
* A rectangular graphics item representing the map on the canvas. * A rectangular graphics item representing the map on the canvas.
* *
* @note This class is not a part of public API * @note This class is not a part of public API
* @note not available in Python bindings
*/ */
class QgsMapCanvasMap : public QgsMapCanvasItem class QgsMapCanvasMap : public QgsMapCanvasItem
{ {
@ -49,4 +50,6 @@ class QgsMapCanvasMap : public QgsMapCanvasItem
QImage mImage; QImage mImage;
}; };
/// @endcond
#endif #endif