Skip to content
Permalink
Browse files

Fix build

  • Loading branch information
nyalldawson committed Mar 2, 2020
1 parent a38f0cb commit 62c9583004db5f2e3160541d083965d5fce11625
@@ -46,6 +46,8 @@ it must exist for the lifetime of this object.
Ownership of ``component`` is transferred to the item.
%End

~QgsModelComponentGraphicItem();

QgsProcessingModelComponent *component();
%Docstring
Returns the model component associated with this item.
@@ -63,6 +63,8 @@ QgsModelComponentGraphicItem::QgsModelComponentGraphicItem( QgsProcessingModelCo
connect( mDeleteButton, &QgsModelDesignerFlatButtonGraphicItem::clicked, this, &QgsModelComponentGraphicItem::deleteComponent );
}

QgsModelComponentGraphicItem::~QgsModelComponentGraphicItem() = default;

QgsProcessingModelComponent *QgsModelComponentGraphicItem::component()
{
return mComponent.get();
@@ -47,7 +47,7 @@ class GUI_EXPORT QgsModelComponentGraphicItem : public QGraphicsObject
{
Normal, //!< Normal state
Selected, //!< Item is selected
Hover, //!< Cursor is hovering over an unselected item
Hover, //!< Cursor is hovering over an deselected item
};

/**
@@ -62,6 +62,8 @@ class GUI_EXPORT QgsModelComponentGraphicItem : public QGraphicsObject
QgsProcessingModelAlgorithm *model,
QGraphicsItem *parent SIP_TRANSFERTHIS );

~QgsModelComponentGraphicItem() override;

/**
* Returns the model component associated with this item.
*/

0 comments on commit 62c9583

Please sign in to comment.
You can’t perform that action at this time.