File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 16
16
***************************************************************************/
17
17
18
18
#include " qgslayerrestorer.h"
19
+ #include " qgsmaplayer.h"
19
20
#include " qgsvectorlayer.h"
20
21
#include " qgsrasterlayer.h"
21
22
#include " qgsrasterrenderer.h"
Original file line number Diff line number Diff line change 19
19
#define QGSLAYERRESTORER_H
20
20
21
21
#include < QList>
22
+ #include < QDomDocument>
23
+
24
+ #include " qgsfeatureid.h"
22
25
23
26
class QgsMapLayer ;
24
27
@@ -30,16 +33,6 @@ class QgsMapLayer;
30
33
*/
31
34
class QgsLayerRestorer
32
35
{
33
- struct QgsLayerSettings
34
- {
35
- QString name;
36
- double mOpacity ;
37
- QString mNamedStyle ;
38
- QDomDocument mSldStyle ;
39
- QString mFilter ;
40
- QgsFeatureIds mSelectedFeatureIds ;
41
- };
42
-
43
36
public:
44
37
45
38
/* *
@@ -56,6 +49,16 @@ class QgsLayerRestorer
56
49
~QgsLayerRestorer ();
57
50
58
51
private:
52
+ struct QgsLayerSettings
53
+ {
54
+ QString name;
55
+ double mOpacity ;
56
+ QString mNamedStyle ;
57
+ QDomDocument mSldStyle ;
58
+ QString mFilter ;
59
+ QgsFeatureIds mSelectedFeatureIds ;
60
+ };
61
+
59
62
QMap<QgsMapLayer *, QgsLayerSettings> mLayerSettings ;
60
63
};
61
64
You can’t perform that action at this time.
0 commit comments