2017-05-23 09:45:57 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsprojectfiletransform.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
class QgsProjectFileTransform
|
|
|
|
{
|
2017-05-23 09:45:57 +02:00
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-23 09:45:57 +02:00
|
|
|
#include "qgsprojectfiletransform.h"
|
2013-06-22 19:37:41 +02:00
|
|
|
%End
|
|
|
|
public:
|
2017-05-23 09:45:57 +02:00
|
|
|
|
|
|
|
QgsProjectFileTransform( QDomDocument &domDocument,
|
2017-05-01 16:42:33 +02:00
|
|
|
const QgsProjectVersion &version );
|
2017-05-23 09:45:57 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Create an instance from a Dom and a supplied version
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param domDocument: The Dom document to use as content
|
|
|
|
:param version: Version number
|
2017-05-23 09:45:57 +02:00
|
|
|
%End
|
|
|
|
|
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
bool updateRevision( const QgsProjectVersion &version );
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
void dump();
|
2017-05-23 09:45:57 +02:00
|
|
|
%Docstring
|
2017-12-19 11:43:52 -04:00
|
|
|
Prints the contents via :py:class:`QgsDebugMsg`()
|
2017-05-23 09:45:57 +02:00
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
static void convertRasterProperties( QDomDocument &doc, QDomNode &parentNode, QDomElement &rasterPropertiesElem, QgsRasterLayer *rlayer );
|
2017-05-23 09:45:57 +02:00
|
|
|
|
2019-11-01 14:16:49 +01:00
|
|
|
QDomDocument &dom();
|
|
|
|
|
|
|
|
QgsProjectVersion currentVersion() const;
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
};
|
2017-05-23 09:45:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsprojectfiletransform.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|