mirror of
https://github.com/qgis/QGIS.git
synced 2025-12-15 00:07:25 -05:00
More review addressed
This commit is contained in:
parent
e9b3408a6c
commit
6dafb5d495
@ -168,7 +168,7 @@ Sets the band number from which temporal values should be taken.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
const QDateTime temporalRepresentationOffset() const;
|
||||
QDateTime temporalRepresentationOffset() const;
|
||||
%Docstring
|
||||
Returns the temporal offset, which is a fixed datetime which should be added to individual pixel values
|
||||
from the layer.
|
||||
@ -196,7 +196,7 @@ from the layer.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
const QgsInterval temporalRepresentationScale() const;
|
||||
const QgsInterval &temporalRepresentationScale() const;
|
||||
%Docstring
|
||||
Returns the scale, which is an interval factor which should be applied to individual pixel
|
||||
values from the layer.
|
||||
@ -210,7 +210,7 @@ values from the layer.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
void setTemporalRepresentationScale( QgsInterval scale );
|
||||
void setTemporalRepresentationScale( const QgsInterval &scale );
|
||||
%Docstring
|
||||
Sets the scale, which is an interval factor which should be applied to individual pixel
|
||||
values from the layer.
|
||||
|
||||
@ -168,7 +168,7 @@ Sets the band number from which temporal values should be taken.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
const QDateTime temporalRepresentationOffset() const;
|
||||
QDateTime temporalRepresentationOffset() const;
|
||||
%Docstring
|
||||
Returns the temporal offset, which is a fixed datetime which should be added to individual pixel values
|
||||
from the layer.
|
||||
@ -196,7 +196,7 @@ from the layer.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
const QgsInterval temporalRepresentationScale() const;
|
||||
const QgsInterval &temporalRepresentationScale() const;
|
||||
%Docstring
|
||||
Returns the scale, which is an interval factor which should be applied to individual pixel
|
||||
values from the layer.
|
||||
@ -210,7 +210,7 @@ values from the layer.
|
||||
.. versionadded:: 3.38
|
||||
%End
|
||||
|
||||
void setTemporalRepresentationScale( QgsInterval scale );
|
||||
void setTemporalRepresentationScale( const QgsInterval &scale );
|
||||
%Docstring
|
||||
Sets the scale, which is an interval factor which should be applied to individual pixel
|
||||
values from the layer.
|
||||
|
||||
@ -293,7 +293,7 @@ void QgsRasterLayerTemporalProperties::setBandNumber( int number )
|
||||
mBandNumber = number;
|
||||
}
|
||||
|
||||
const QDateTime QgsRasterLayerTemporalProperties::temporalRepresentationOffset() const
|
||||
QDateTime QgsRasterLayerTemporalProperties::temporalRepresentationOffset() const
|
||||
{
|
||||
return mTemporalRepresentationOffset;
|
||||
}
|
||||
@ -306,12 +306,12 @@ void QgsRasterLayerTemporalProperties::setTemporalRepresentationOffset( const QD
|
||||
mTemporalRepresentationOffset = offset;
|
||||
}
|
||||
|
||||
const QgsInterval QgsRasterLayerTemporalProperties::temporalRepresentationScale() const
|
||||
const QgsInterval &QgsRasterLayerTemporalProperties::temporalRepresentationScale() const
|
||||
{
|
||||
return mTemporalRepresentationScale;
|
||||
}
|
||||
|
||||
void QgsRasterLayerTemporalProperties::setTemporalRepresentationScale( QgsInterval scale )
|
||||
void QgsRasterLayerTemporalProperties::setTemporalRepresentationScale( const QgsInterval &scale )
|
||||
{
|
||||
if ( mTemporalRepresentationScale == scale )
|
||||
return;
|
||||
|
||||
@ -171,7 +171,7 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
|
||||
* \see setTemporalRepresentationOffset()
|
||||
* \since QGIS 3.38
|
||||
*/
|
||||
const QDateTime temporalRepresentationOffset() const;
|
||||
QDateTime temporalRepresentationOffset() const;
|
||||
|
||||
/**
|
||||
* Sets the temporal offset, which is a fixed datetime which should be added to individual pixel values
|
||||
@ -191,7 +191,7 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
|
||||
* \see setTemporalRepresentationScale()
|
||||
* \since QGIS 3.38
|
||||
*/
|
||||
const QgsInterval temporalRepresentationScale() const;
|
||||
const QgsInterval &temporalRepresentationScale() const;
|
||||
|
||||
/**
|
||||
* Sets the scale, which is an interval factor which should be applied to individual pixel
|
||||
@ -201,7 +201,7 @@ class CORE_EXPORT QgsRasterLayerTemporalProperties : public QgsMapLayerTemporalP
|
||||
* \see temporalRepresentationScale()
|
||||
* \since QGIS 3.38
|
||||
*/
|
||||
void setTemporalRepresentationScale( QgsInterval scale );
|
||||
void setTemporalRepresentationScale( const QgsInterval &scale );
|
||||
|
||||
QDomElement writeXml( QDomElement &element, QDomDocument &doc, const QgsReadWriteContext &context ) override;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user