QGIS API Documentation
3.43.0-Master (9e873c7bc91)
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
browser
qgsdatabaseschemaitem.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsdatabaseschemaitem.h
3
-------------------
4
begin : 2011-04-01
5
copyright : (C) 2011 Radim Blazek
6
email : radim dot blazek at gmail dot com
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
#ifndef QGSDATABASESCHEMAITEM_H
18
#define QGSDATABASESCHEMAITEM_H
19
20
#include "
qgis_sip.h
"
21
#include "qgis_core.h"
22
#include "
qgsdatacollectionitem.h
"
23
29
class
CORE_EXPORT
QgsDatabaseSchemaItem
:
public
QgsDataCollectionItem
30
{
31
Q_OBJECT
32
public
:
33
45
QgsDatabaseSchemaItem
(
QgsDataItem
*parent
SIP_TRANSFERTHIS
,
const
QString &name,
const
QString &path = QString(),
const
QString &providerKey = QString() );
46
47
~QgsDatabaseSchemaItem
()
override
;
48
49
#ifdef SIP_RUN
50
SIP_PYOBJECT __repr__();
51
% MethodCode
52
QString str = QStringLiteral(
"<QgsDatabaseSchemaItem: \"%1\" %2>"
).arg( sipCpp->name(), sipCpp->path() );
53
sipRes = PyUnicode_FromString( str.toUtf8().constData() );
54
% End
55
#endif
56
57
QgsAbstractDatabaseProviderConnection
*
databaseConnection
()
const override
;
58
59
};
29
class
CORE_EXPORT
QgsDatabaseSchemaItem
:
public
QgsDataCollectionItem
{
…
};
60
61
#endif
// QGSDATABASESCHEMAITEM_H
62
63
QgsAbstractDatabaseProviderConnection
The QgsAbstractDatabaseProviderConnection class provides common functionality for DB based connection...
Definition
qgsabstractdatabaseproviderconnection.h:48
QgsDataCollectionItem
A Collection: logical collection of layers or subcollections, e.g.
Definition
qgsdatacollectionitem.h:29
QgsDataCollectionItem::databaseConnection
QgsAbstractDatabaseProviderConnection * databaseConnection() const override
For data items that represent a DB connection or one of its children, this method returns a connectio...
Definition
qgsdatacollectionitem.cpp:73
QgsDataItem
Base class for all items in the model.
Definition
qgsdataitem.h:46
QgsDatabaseSchemaItem
A Collection that represents a database schema item.
Definition
qgsdatabaseschemaitem.h:30
qgis_sip.h
SIP_TRANSFERTHIS
#define SIP_TRANSFERTHIS
Definition
qgis_sip.h:53
qgsdatacollectionitem.h
Generated on Wed Mar 12 2025 12:18:25 for QGIS API Documentation by
1.9.8