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
settings
qgssettingsregistry.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgssettingsregistry.h
3
--------------------------------------
4
Date : February 2021
5
Copyright : (C) 2021 by Damiano Lombardi
6
Email : damiano at opengis dot ch
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
16
17
#ifndef QGSSETTINGSREGISTRY_H
18
#define QGSSETTINGSREGISTRY_H
19
20
#include "
qgis.h
"
21
#include "qgis_core.h"
22
#include "
qgis_sip.h
"
23
24
#include <QMap>
25
26
class
QgsSettingsEntryBase
;
27
class
QgsSettingsEntryGroup
;
28
38
class
CORE_DEPRECATED_EXPORT
QgsSettingsRegistry
39
{
40
public
:
41
42
QgsSettingsRegistry
();
43
virtual
~QgsSettingsRegistry
();
44
48
QList<const QgsSettingsEntryBase *> settingEntries()
const
;
49
55
const
QgsSettingsEntryBase
*settingsEntry(
const
QString &key,
bool
searchChildRegistries =
true
)
const
;
56
60
void
addSubRegistry(
const
QgsSettingsRegistry
*settingsRegistry );
61
65
void
removeSubRegistry(
const
QgsSettingsRegistry
*settingsRegistry );
66
70
QList<const QgsSettingsRegistry *> subRegistries()
const
;
71
72
protected
:
73
77
bool
addSettingsEntry(
const
QgsSettingsEntryBase
*settingsEntry );
78
84
Q_DECL_DEPRECATED
void
addSettingsEntryGroup(
const
QgsSettingsEntryGroup
*settingsGroup )
SIP_DEPRECATED
;
85
86
private
:
87
88
QMap<QString, const QgsSettingsEntryBase *> mSettingsEntriesMap;
89
90
Q_NOWARN_DEPRECATED_PUSH
91
QMap<const QgsSettingsEntryBase *, const QgsSettingsEntryGroup *> mSettingsEntriesGroupMap;
92
Q_NOWARN_DEPRECATED_POP
93
94
QList<const QgsSettingsRegistry *> mSettingsRegistryChildList;
95
96
friend
class
QgsSettingsEntryBase
;
97
98
};
38
class
CORE_DEPRECATED_EXPORT
QgsSettingsRegistry
{
…
};
99
100
#endif
// QGSSETTINGSREGISTRY_H
QgsSettingsEntryBase
Represent settings entry and provides methods for reading and writing settings values.
Definition
qgssettingsentry.h:45
QgsSettingsEntryGroup
Creates a group of setting which have a common definition of base key.
Definition
qgssettingsentrygroup.h:39
QgsSettingsRegistry
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegist...
Definition
qgssettingsregistry.h:39
qgis.h
Q_NOWARN_DEPRECATED_POP
#define Q_NOWARN_DEPRECATED_POP
Definition
qgis.h:6796
Q_NOWARN_DEPRECATED_PUSH
#define Q_NOWARN_DEPRECATED_PUSH
Definition
qgis.h:6795
qgis_sip.h
SIP_DEPRECATED
#define SIP_DEPRECATED
Definition
qgis_sip.h:106
Generated on Mon Mar 24 2025 21:55:38 for QGIS API Documentation by
1.9.8