2020-03-06 17:04:32 +03:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgstemporalcontroller.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-09-02 13:59:07 +10:00
|
|
|
%ModuleHeaderCode
|
|
|
|
#include <qgstemporalnavigationobject.h>
|
|
|
|
%End
|
|
|
|
|
2020-03-06 17:04:32 +03:00
|
|
|
class QgsTemporalController : QObject
|
|
|
|
{
|
|
|
|
%Docstring
|
2020-03-07 17:36:25 +01:00
|
|
|
A controller base class for temporal objects, contains a signal for notifying
|
|
|
|
updates of the objects temporal range.
|
2020-03-06 17:04:32 +03:00
|
|
|
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgstemporalcontroller.h"
|
2020-09-02 13:59:07 +10:00
|
|
|
%End
|
|
|
|
%ConvertToSubClassCode
|
|
|
|
if ( qobject_cast<QgsTemporalNavigationObject *>( sipCpp ) )
|
|
|
|
{
|
|
|
|
sipType = sipType_QgsTemporalNavigationObject;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
sipType = 0;
|
|
|
|
}
|
2020-03-06 17:04:32 +03:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
2020-03-12 09:27:09 +10:00
|
|
|
QgsTemporalController( QObject *parent /TransferThis/ = 0 );
|
2020-03-06 17:04:32 +03:00
|
|
|
%Docstring
|
2020-03-12 09:27:09 +10:00
|
|
|
Constructor for QgsTemporalController, with the specified ``parent`` object.
|
2020-03-06 17:04:32 +03:00
|
|
|
%End
|
|
|
|
|
|
|
|
signals:
|
2020-03-07 17:36:25 +01:00
|
|
|
|
2020-03-06 17:04:32 +03:00
|
|
|
void updateTemporalRange( const QgsDateTimeRange &range );
|
2020-03-07 17:36:25 +01:00
|
|
|
%Docstring
|
2020-03-12 09:27:09 +10:00
|
|
|
Signals that a temporal ``range`` has changed and needs to be updated in
|
|
|
|
all connected objects.
|
2020-03-07 17:36:25 +01:00
|
|
|
%End
|
2020-03-06 17:04:32 +03:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgstemporalcontroller.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|