@@ -111,9 +111,10 @@ class CORE_EXPORT QgsLayerTreeModelLegendNode : public QObject
111
111
virtual ItemMetrics draw ( const QgsLegendSettings &settings, ItemContext *ctx );
112
112
113
113
/* *
114
- * Entry point called from QgsLegendRenderer to do the rendering in a \a
115
- * json object.
116
- *
114
+ * Entry point called from QgsLegendRenderer to do the rendering in a
115
+ * JSON object.
116
+ * \param settings Legend layout configuration
117
+ * \param json The json object to update
117
118
* \since QGIS 3.8
118
119
*/
119
120
void exportToJson ( const QgsLegendSettings &settings, QJsonObject &json );
@@ -128,11 +129,9 @@ class CORE_EXPORT QgsLayerTreeModelLegendNode : public QObject
128
129
virtual QSizeF drawSymbol ( const QgsLegendSettings &settings, ItemContext *ctx, double itemHeight ) const ;
129
130
130
131
/* *
131
- * Adds a symbol in base64 string within the \a json object with the key
132
- * "icon".
132
+ * Adds a symbol in base64 string within a JSON object with the key "icon".
133
133
* \param settings Legend layout configuration
134
134
* \param json The json object to update
135
- *
136
135
* \since QGIS 3.8
137
136
*/
138
137
virtual void exportSymbolToJson ( const QgsLegendSettings &settings, QJsonObject &json ) const ;
@@ -147,10 +146,9 @@ class CORE_EXPORT QgsLayerTreeModelLegendNode : public QObject
147
146
virtual QSizeF drawSymbolText ( const QgsLegendSettings &settings, ItemContext *ctx, QSizeF symbolSize ) const ;
148
147
149
148
/* *
150
- * Adds a label in the \a json object with the key "title".
149
+ * Adds a label in a JSON object with the key "title".
151
150
* \param settings Legend layout configuration
152
151
* \param json The json object to update
153
- *
154
152
* \since QGIS 3.8
155
153
*/
156
154
void exportSymbolTextToJson ( const QgsLegendSettings &settings, QJsonObject &json ) const ;
0 commit comments