mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-06 00:03:16 -05:00
QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
9533cb296c
commit
e7127f8766
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
class QgsMapCanvasItem : QObject, QGraphicsItem
|
class QgsMapCanvasItem : QGraphicsItem
|
||||||
{
|
{
|
||||||
%TypeHeaderCode
|
%TypeHeaderCode
|
||||||
#include <qgsmapcanvasitem.h>
|
#include <qgsmapcanvasitem.h>
|
||||||
|
|||||||
@ -25,7 +25,6 @@ qgisinterface.h
|
|||||||
qgsencodingfiledialog.h
|
qgsencodingfiledialog.h
|
||||||
qgslayerprojectionselector.h
|
qgslayerprojectionselector.h
|
||||||
qgsmapcanvas.h
|
qgsmapcanvas.h
|
||||||
qgsmapcanvasitem.h
|
|
||||||
qgsmapoverviewcanvas.h
|
qgsmapoverviewcanvas.h
|
||||||
qgsprojectionselector.h
|
qgsprojectionselector.h
|
||||||
)
|
)
|
||||||
|
|||||||
@ -23,10 +23,8 @@
|
|||||||
class QgsMapCanvas;
|
class QgsMapCanvas;
|
||||||
class QPainter;
|
class QPainter;
|
||||||
|
|
||||||
class GUI_EXPORT QgsMapCanvasItem : public QObject, public QGraphicsItem
|
class GUI_EXPORT QgsMapCanvasItem : public QGraphicsItem
|
||||||
{
|
{
|
||||||
Q_OBJECT;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
//! protected constructor: cannot be constructed directly
|
//! protected constructor: cannot be constructed directly
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user