Skip to content
Permalink
Browse files

QStringLiteral

  • Loading branch information
nyalldawson committed Oct 26, 2020
1 parent 40ff712 commit 0a4266535ee8502dd1bc9fd597ebcf073f803e61
@@ -39,6 +39,7 @@ Returns point cloud layer associated with the renderer
%End

virtual QString type() const;

virtual QgsPointCloudLayer3DRenderer *clone() const /Factory/;


@@ -56,6 +56,11 @@ QgsPointCloudLayer *QgsPointCloudLayer3DRenderer::layer() const
return qobject_cast<QgsPointCloudLayer *>( mLayerRef.layer );
}

QString QgsPointCloudLayer3DRenderer::type() const
{
return QStringLiteral( "pointcloud" );
}

QgsPointCloudLayer3DRenderer *QgsPointCloudLayer3DRenderer::clone() const
{
QgsPointCloudLayer3DRenderer *r = new QgsPointCloudLayer3DRenderer;
@@ -65,7 +65,7 @@ class _3D_EXPORT QgsPointCloudLayer3DRenderer : public QgsAbstract3DRenderer
//! Returns point cloud layer associated with the renderer
QgsPointCloudLayer *layer() const;

QString type() const override { return "pointcloud"; }
QString type() const override;
QgsPointCloudLayer3DRenderer *clone() const override SIP_FACTORY;
Qt3DCore::QEntity *createEntity( const Qgs3DMapSettings &map ) const override SIP_SKIP;

0 comments on commit 0a42665

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