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:
wonder 2007-03-03 11:13:57 +00:00
parent 9533cb296c
commit e7127f8766
3 changed files with 2 additions and 5 deletions

View File

@ -1,5 +1,5 @@
class QgsMapCanvasItem : QObject, QGraphicsItem class QgsMapCanvasItem : QGraphicsItem
{ {
%TypeHeaderCode %TypeHeaderCode
#include <qgsmapcanvasitem.h> #include <qgsmapcanvasitem.h>

View File

@ -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
) )

View File

@ -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