QGIS API Documentation  3.6.0-Noosa (5873452)
Functions
qgsogrhelperfunctions.cpp File Reference
#include "qgsogrhelperfunctions.h"
#include "qgslogger.h"
#include "qgsapplication.h"
#include "qgsauthmanager.h"
#include <QRegExp>
Include dependency graph for qgsogrhelperfunctions.cpp:

Go to the source code of this file.

Functions

QString createDatabaseURI (const QString &connectionType, const QString &host, const QString &database, QString port, const QString &configId, QString username, QString password, bool expandAuthConfig)
 CreateDatabaseURI. More...
 
QString createProtocolURI (const QString &type, const QString &url, const QString &configId, const QString &username, const QString &password, bool expandAuthConfig)
 CreateProtocolURI. More...
 

Function Documentation

◆ createDatabaseURI()

QString createDatabaseURI ( const QString &  connectionType,
const QString &  host,
const QString &  database,
QString  port,
const QString &  configId,
QString  username,
QString  password,
bool  expandAuthConfig = false 
)

CreateDatabaseURI.

Create database uri from connection parameters

Note
not available in python bindings

Definition at line 25 of file qgsogrhelperfunctions.cpp.

◆ createProtocolURI()

QString createProtocolURI ( const QString &  type,
const QString &  url,
const QString &  configId,
const QString &  username,
const QString &  password,
bool  expandAuthConfig = false 
)

CreateProtocolURI.

Create protocol uri from connection parameters

Note
not available in python bindings

Definition at line 221 of file qgsogrhelperfunctions.cpp.