mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix build warnings
This commit is contained in:
parent
7972092311
commit
ada01d8671
@ -26,12 +26,6 @@ class QgsLayoutItem : QgsLayoutObject, QGraphicsRectItem
|
||||
Constructor for QgsLayoutItem, with the specified parent ``layout``.
|
||||
%End
|
||||
|
||||
virtual int type() const = 0;
|
||||
%Docstring
|
||||
Return correct graphics item type.
|
||||
:rtype: int
|
||||
%End
|
||||
|
||||
virtual void paint( QPainter *painter, const QStyleOptionGraphicsItem *itemStyle, QWidget *pWidget );
|
||||
|
||||
%Docstring
|
||||
|
@ -34,6 +34,8 @@ class QPainter;
|
||||
class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectItem
|
||||
{
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
/**
|
||||
@ -41,9 +43,6 @@ class CORE_EXPORT QgsLayoutItem : public QgsLayoutObject, public QGraphicsRectIt
|
||||
*/
|
||||
QgsLayoutItem( QgsLayout *layout );
|
||||
|
||||
//! Return correct graphics item type.
|
||||
virtual int type() const = 0;
|
||||
|
||||
/**
|
||||
* Handles preparing a paint surface for the layout item and painting the item's
|
||||
* content. Derived classes must not override this method, but instead implement
|
||||
|
Loading…
x
Reference in New Issue
Block a user