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
191
191
void setDisplayField( const QString& fldName = "" );
192
192
193
193
/** Returns the primary display field name used in the identify results dialog */
194
- const QString displayField() const;
194
+ QString displayField() const;
195
195
196
196
/** Set the preview expression, used to create a human readable preview string.
197
197
* Used e.g. in the attribute table feature list. Uses { @link QgsExpression }.
@@ -207,7 +207,7 @@ class QgsVectorLayer : QgsMapLayer
207
207
*
208
208
* @return The expression which will be used to preview features for this layer
209
209
*/
210
- const QString displayExpression();
210
+ QString displayExpression() const ;
211
211
212
212
/** Returns the data provider */
213
213
QgsVectorDataProvider* dataProvider();
Original file line number Diff line number Diff line change @@ -2878,7 +2878,7 @@ void QgsVectorLayer::setCoordinateSystem()
2878
2878
}
2879
2879
2880
2880
2881
- const QString QgsVectorLayer::displayField () const
2881
+ QString QgsVectorLayer::displayField () const
2882
2882
{
2883
2883
return mDisplayField ;
2884
2884
}
@@ -2888,7 +2888,7 @@ void QgsVectorLayer::setDisplayExpression( const QString &displayExpression )
2888
2888
mDisplayExpression = displayExpression;
2889
2889
}
2890
2890
2891
- const QString QgsVectorLayer::displayExpression ()
2891
+ QString QgsVectorLayer::displayExpression () const
2892
2892
{
2893
2893
return mDisplayExpression ;
2894
2894
}
Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
556
556
void setDisplayField ( const QString& fldName = " " );
557
557
558
558
/* * Returns the primary display field name used in the identify results dialog */
559
- const QString displayField () const ;
559
+ QString displayField () const ;
560
560
561
561
/* * Set the preview expression, used to create a human readable preview string.
562
562
* Used e.g. in the attribute table feature list. Uses { @link QgsExpression }.
@@ -572,7 +572,7 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer
572
572
*
573
573
* @return The expression which will be used to preview features for this layer
574
574
*/
575
- const QString displayExpression ();
575
+ QString displayExpression () const ;
576
576
577
577
/* * Returns the data provider */
578
578
QgsVectorDataProvider* dataProvider ();
You can’t perform that action at this time.
0 commit comments