QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
core
auth
qgsauthconfigurationstoragesqlite.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsauthconfigurationstoragesqlite.h - QgsAuthConfigurationStorageSqlite
3
4
---------------------
5
begin : 20.6.2024
6
copyright : (C) 2024 by Alessandro Pasotti
7
email : elpaso at itopen dot it
8
***************************************************************************
9
* *
10
* This program is free software; you can redistribute it and/or modify *
11
* it under the terms of the GNU General Public License as published by *
12
* the Free Software Foundation; either version 2 of the License, or *
13
* (at your option) any later version. *
14
* *
15
***************************************************************************/
16
#ifndef QGSAUTHCONFIGURATIONSTORAGESQLITE_H
17
#define QGSAUTHCONFIGURATIONSTORAGESQLITE_H
18
20
21
22
#include "
qgsauthconfigurationstoragedb.h
"
23
24
#include <QObject>
25
#include <QRecursiveMutex>
26
#include <QSqlDatabase>
27
28
#define SIP_NO_FILE
29
34
class
QgsAuthConfigurationStorageSqlite :
public
QgsAuthConfigurationStorageDb
35
{
36
Q_OBJECT
37
38
// QgsAuthConfigurationStorageDb interface
39
public
:
40
QgsAuthConfigurationStorageSqlite(
const
QString &databasePath );
41
42
bool
initialize
()
override
;
43
QList<QgsAuthConfigurationStorage::SettingParameter>
settingsParameters
()
const override
;
44
QString
description
()
const override
;
45
QString
type
()
const override
;
46
47
private
:
48
bool
tableExists
(
const
QString &table )
const override
;
49
void
checkCapabilities
()
override
;
50
};
52
53
#endif
// QGSAUTHCONFIGURATIONSTORAGESQLITE_H
QgsAuthConfigurationStorageDb
QSqlDatabase based implementation of QgsAuthConfigurationStorage.
Definition
qgsauthconfigurationstoragedb.h:32
QgsAuthConfigurationStorageDb::tableExists
virtual bool tableExists(const QString &table) const
Returns true if the specified table exists in the database, false otherwise.
Definition
qgsauthconfigurationstoragedb.cpp:2307
QgsAuthConfigurationStorageDb::checkCapabilities
virtual void checkCapabilities()
Checks the capabilities of the storage.
Definition
qgsauthconfigurationstoragedb.cpp:1811
QgsAuthConfigurationStorageDb::settingsParameters
QList< QgsAuthConfigurationStorage::SettingParameter > settingsParameters() const override
Returns a list of the settings accepted by the storage.
Definition
qgsauthconfigurationstoragedb.cpp:272
QgsAuthConfigurationStorageDb::initialize
bool initialize() override
Initializes the storage.
Definition
qgsauthconfigurationstoragedb.cpp:244
QgsAuthConfigurationStorageDb::type
QString type() const override
Returns the type of the storage implementation.
Definition
qgsauthconfigurationstoragedb.cpp:1516
QgsAuthConfigurationStorageDb::description
QString description() const override
Returns a human readable localized description of the storage implementation (e.g.
Definition
qgsauthconfigurationstoragedb.cpp:1521
qgsauthconfigurationstoragedb.h
Generated on
for QGIS API Documentation by
1.17.0