QGIS API Documentation
3.14.0-Pi (9f7028fd23)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
w
z
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
z
Variables
Typedefs
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
2
3
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
c
e
f
g
h
k
l
m
o
p
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
n
o
p
q
r
s
t
u
w
Typedefs
a
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
w
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
src
core
qgsprojectfiletransform.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprojectfiletransform.h - description
3
-------------------
4
begin : Sun 15 dec 2007
5
copyright : (C) 2007 by Magnus Homann
6
email : magnus at homann.se
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
27
#ifndef QGSPROJECTFILETRANSFORM_H
28
#define QGSPROJECTFILETRANSFORM_H
29
30
#include "qgis_core.h"
31
#include <QString>
32
#include <QDomDocument>
33
#include "
qgsprojectversion.h
"
34
35
36
class
QgsRasterLayer
;
37
41
class
CORE_EXPORT
QgsProjectFileTransform
42
{
43
public
:
44
//Default constructor
45
//QgsProjectfiletransform() {}
46
52
QgsProjectFileTransform
( QDomDocument &domDocument,
53
const
QgsProjectVersion
&version )
54
{
55
mDom = domDocument;
56
mCurrentVersion = version;
57
}
58
59
60
bool
updateRevision(
const
QgsProjectVersion
&version );
61
65
void
dump();
66
67
static
void
convertRasterProperties( QDomDocument &doc, QDomNode &parentNode, QDomElement &rasterPropertiesElem,
QgsRasterLayer
*rlayer );
68
74
QDomDocument &dom();
75
81
QgsProjectVersion
currentVersion()
const
;
82
83
private
:
84
85
QDomDocument mDom;
86
QgsProjectVersion
mCurrentVersion;
87
};
88
89
90
#endif //QGSPROJECTFILETRANSFORM_H
91
QgsRasterLayer
Definition:
qgsrasterlayer.h:72
QgsProjectFileTransform
Definition:
qgsprojectfiletransform.h:41
QgsProjectFileTransform::QgsProjectFileTransform
QgsProjectFileTransform(QDomDocument &domDocument, const QgsProjectVersion &version)
Create an instance from a Dom and a supplied version.
Definition:
qgsprojectfiletransform.h:52
qgsprojectversion.h
QgsProjectVersion
Definition:
qgsprojectversion.h:32
Generated on Mon Jun 22 2020 05:14:09 for QGIS API Documentation by
1.8.17