mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-24 00:06:24 -04:00
Run clang-tidy modernize-use-override to remove all the redundant virtual keywords from overridden methods, and add some missing overrides. Another benefit is that this has also added the overrides on destructors, which will cause a build failure if a base class is missing a virtual destructor.
47 lines
1.8 KiB
Plaintext
47 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgsrelationreferencefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsRelationReferenceFieldFormatter : QgsFieldFormatter
|
|
{
|
|
%Docstring
|
|
Field formatter for a relation reference field.
|
|
A value relation field formatter looks up the values from
|
|
features on another layer.
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrelationreferencefieldformatter.h"
|
|
%End
|
|
public:
|
|
|
|
QgsRelationReferenceFieldFormatter();
|
|
%Docstring
|
|
Default constructor of field formatter for a relation reference field.
|
|
%End
|
|
|
|
virtual QString id() const;
|
|
|
|
|
|
virtual QString representValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
|
|
|
|
|
|
virtual QVariant sortValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgsrelationreferencefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|