QGIS API Documentation  3.14.0-Pi (9f7028fd23)
qgsogrhelperfunctions.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsogrhelperfunctions.h
3  helper functions to create ogr uris for database and protocol drivers
4  -------------------
5  begin : Mon Jan 2 2009
6  copyright : (C) 2009 by Godofredo Contreras Nava
7  email : frdcn at hotmail.com
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #include <QString>
20 #include "qgis_gui.h"
21 
22 #define SIP_NO_FILE
23 
29 QString GUI_EXPORT createDatabaseURI( const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig = false );
30 
36 QString GUI_EXPORT createProtocolURI( const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig = false );
createDatabaseURI
QString GUI_EXPORT createDatabaseURI(const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig=false)
CreateDatabaseURI.
Definition: qgsogrhelperfunctions.cpp:25
createProtocolURI
QString GUI_EXPORT createProtocolURI(const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig=false)
CreateProtocolURI.
Definition: qgsogrhelperfunctions.cpp:221