mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-27 00:07:16 -05:00
The QgsTemporalProperty interface has members which are geared more to user-setable temporal properties (e.g. "isActive()"/"setIsActive()". Instead, use more explicit "hasTemporalCapabilities()" API in QgsDataProviderTemporalCapabilities to make it immediately clear what this flag means for data provider temporal capabilities
62 lines
2.1 KiB
Plaintext
62 lines
2.1 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsdataprovidertemporalcapabilities.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsDataProviderTemporalCapabilities
|
|
{
|
|
%Docstring
|
|
Base class for handling properties relating to a data provider's temporal capabilities.
|
|
|
|
.. versionadded:: 3.14
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsdataprovidertemporalcapabilities.h"
|
|
%End
|
|
public:
|
|
|
|
QgsDataProviderTemporalCapabilities( bool available = false );
|
|
%Docstring
|
|
Constructor for QgsDataProviderTemporalCapabilities.
|
|
|
|
The ``available`` argument specifies whether the data provider has temporal capabilities. Set to
|
|
``True`` to indicate that the provider has temporal capabilities available for use.
|
|
%End
|
|
|
|
virtual ~QgsDataProviderTemporalCapabilities();
|
|
|
|
bool hasTemporalCapabilities() const;
|
|
%Docstring
|
|
Returns ``True`` if the provider has temporal capabilities available.
|
|
|
|
.. seealso:: :py:func:`setHasTemporalCapabilities`
|
|
%End
|
|
|
|
void setHasTemporalCapabilities( bool available );
|
|
%Docstring
|
|
Sets whether the provider has temporal capabilities ``available``.
|
|
|
|
Set ``available`` to ``True`` to indicate that the provider has temporal capabilities available for use.
|
|
|
|
.. seealso:: :py:func:`hasTemporalCapabilities`
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/qgsdataprovidertemporalcapabilities.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|