QgsHtmlAnnotation *QgsHtmlAnnotation::clone() const { std::unique_ptr< QgsHtmlAnnotation > c( new QgsHtmlAnnotation() ); copyCommonProperties( c.get() ); c->setSourceFile( mHtmlFile ); return c.release(); }
QgsFormAnnotation *QgsFormAnnotation::clone() const { std::unique_ptr< QgsFormAnnotation > c( new QgsFormAnnotation() ); copyCommonProperties( c.get() ); c->setDesignerForm( mDesignerForm ); return c.release(); }