mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-09 00:35:20 -05: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.
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgskeyvaluefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
class QgsKeyValueFieldFormatter : QgsFieldFormatter
|
|
{
|
|
%Docstring
|
|
Field formatter for a key value field.
|
|
This represents a list type value.
|
|
Values will be represented as a colon-delimited and
|
|
comma-separated list.
|
|
|
|
E.g. "color: yellow, amount: 5"
|
|
|
|
.. versionadded:: 3.0
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgskeyvaluefieldformatter.h"
|
|
%End
|
|
public:
|
|
|
|
QgsKeyValueFieldFormatter();
|
|
%Docstring
|
|
Default constructor of field formatter for a key value field.
|
|
%End
|
|
virtual QString id() const;
|
|
|
|
virtual QString representValue( QgsVectorLayer *layer, int fieldIndex, const QVariantMap &config, const QVariant &cache, const QVariant &value ) const;
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/fieldformatter/qgskeyvaluefieldformatter.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|