QGIS API Documentation
3.43.0-Master (3ee7834ace6)
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
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
b
c
d
e
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
z
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 Symbols
3
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
Files
File List
File Members
All
3
_
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
3
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
Loading...
Searching...
No Matches
src
core
project
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
18
#ifndef QGSPROJECTFILETRANSFORM_H
19
#define QGSPROJECTFILETRANSFORM_H
20
21
#include "qgis_core.h"
22
#include <QString>
23
#include <QDomDocument>
24
#include "
qgsprojectversion.h
"
25
26
27
class
QgsRasterLayer
;
28
class
QgsMapLayer
;
29
38
class
CORE_EXPORT
QgsProjectFileTransform
39
{
40
public
:
41
//Default constructor
42
//QgsProjectfiletransform() {}
43
49
QgsProjectFileTransform
( QDomDocument &domDocument,
50
const
QgsProjectVersion
&version )
51
{
52
mDom = domDocument;
53
mCurrentVersion = version;
54
}
49
QgsProjectFileTransform
( QDomDocument &domDocument, {
…
}
55
56
57
bool
updateRevision(
const
QgsProjectVersion
&version );
58
62
void
dump();
63
64
static
void
convertRasterProperties( QDomDocument &doc, QDomNode &parentNode, QDomElement &rasterPropertiesElem,
QgsRasterLayer
*rlayer );
65
71
QDomDocument &dom();
72
78
QgsProjectVersion
currentVersion()
const
;
79
87
Q_DECL_DEPRECATED
static
void
fixOldSymbolLayerReferences(
const
QMap<QString, QgsMapLayer *> &mapLayers );
88
89
private
:
90
91
QDomDocument mDom;
92
QgsProjectVersion
mCurrentVersion;
93
};
38
class
CORE_EXPORT
QgsProjectFileTransform
{
…
};
94
95
96
#endif
//QGSPROJECTFILETRANSFORM_H
QgsMapLayer
Base class for all map layer types.
Definition
qgsmaplayer.h:76
QgsProjectFileTransform
Class to convert from older project file versions to newer.
Definition
qgsprojectfiletransform.h:39
QgsProjectFileTransform::QgsProjectFileTransform
QgsProjectFileTransform(QDomDocument &domDocument, const QgsProjectVersion &version)
Create an instance from a Dom and a supplied version.
Definition
qgsprojectfiletransform.h:49
QgsProjectVersion
A class to describe the version of a project.
Definition
qgsprojectversion.h:33
QgsRasterLayer
Represents a raster layer.
Definition
qgsrasterlayer.h:79
qgsprojectversion.h
Generated on Mon Mar 24 2025 21:55:38 for QGIS API Documentation by
1.9.8