File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ class QgsVectorLayer : QgsMapLayer
191191 void setDisplayField( const QString& fldName = "" );
192192
193193 /** Returns the primary display field name used in the identify results dialog */
194- const QString displayField() const;
194+ QString displayField() const;
195195
196196 /** Set the preview expression, used to create a human readable preview string.
197197 * Used e.g. in the attribute table feature list. Uses { @link QgsExpression }.
@@ -207,7 +207,7 @@ class QgsVectorLayer : QgsMapLayer
207207 *
208208 * @return The expression which will be used to preview features for this layer
209209 */
210- const QString displayExpression();
210+ QString displayExpression() const ;
211211
212212 /** Returns the data provider */
213213 QgsVectorDataProvider* dataProvider();
Original file line number Diff line number Diff line change @@ -2878,7 +2878,7 @@ void QgsVectorLayer::setCoordinateSystem()
28782878}
28792879
28802880
2881- const QString QgsVectorLayer::displayField () const
2881+ QString QgsVectorLayer::displayField () const
28822882{
28832883 return mDisplayField ;
28842884}
@@ -2888,7 +2888,7 @@ void QgsVectorLayer::setDisplayExpression( const QString &displayExpression )
28882888 mDisplayExpression = displayExpression;
28892889}
28902890
2891- const QString QgsVectorLayer::displayExpression ()
2891+ QString QgsVectorLayer::displayExpression () const
28922892{
28932893 return mDisplayExpression ;
28942894}
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
556556 void setDisplayField ( const QString& fldName = " " );
557557
558558 /* * Returns the primary display field name used in the identify results dialog */
559- const QString displayField () const ;
559+ QString displayField () const ;
560560
561561 /* * Set the preview expression, used to create a human readable preview string.
562562 * Used e.g. in the attribute table feature list. Uses { @link QgsExpression }.
@@ -572,7 +572,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
572572 *
573573 * @return The expression which will be used to preview features for this layer
574574 */
575- const QString displayExpression ();
575+ QString displayExpression () const ;
576576
577577 /* * Returns the data provider */
578578 QgsVectorDataProvider* dataProvider ();
You can’t perform that action at this time.
0 commit comments