Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Split QgsGeoNodeConnection into two classes
Move utility functions to QgsGeoNodeConnectionUtils
- Loading branch information
1 parent
b7683f2
commit 378a9e9
Showing
12 changed files
with
72 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +0,0 @@ | ||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/geonode/qgsgeonodeconnection.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
|
||
|
||
|
||
|
||
class QgsGeoNodeConnection | ||
{ | ||
%Docstring | ||
! | ||
GeoNode Connections management | ||
%End | ||
|
||
%TypeHeaderCode | ||
#include "qgsgeonodeconnection.h" | ||
%End | ||
public: | ||
explicit QgsGeoNodeConnection( const QString &connName ); | ||
%Docstring | ||
Constructor | ||
%End | ||
|
||
~QgsGeoNodeConnection(); | ||
%Docstring | ||
Destructor | ||
%End | ||
|
||
QString connName() const; | ||
%Docstring | ||
:rtype: str | ||
%End | ||
void setConnName( const QString &connName ); | ||
|
||
QgsDataSourceUri uri() const; | ||
%Docstring | ||
:rtype: QgsDataSourceUri | ||
%End | ||
void setUri( const QgsDataSourceUri &uri ); | ||
|
||
static QStringList connectionList(); | ||
%Docstring | ||
Retrieve all geonode connection | ||
:rtype: list of str | ||
%End | ||
|
||
static void deleteConnection( const QString &name ); | ||
%Docstring | ||
Delete connection with name, name | ||
%End | ||
|
||
static QString selectedConnection(); | ||
%Docstring | ||
Get selected connection | ||
:rtype: str | ||
%End | ||
|
||
static void setSelectedConnection( const QString &name ); | ||
%Docstring | ||
Set selected connection | ||
%End | ||
|
||
static QString pathGeoNodeConnection(); | ||
%Docstring | ||
:rtype: str | ||
%End | ||
|
||
static QString pathGeoNodeConnectionDetails(); | ||
%Docstring | ||
:rtype: str | ||
%End | ||
|
||
}; | ||
|
||
|
||
/************************************************************************ | ||
* This file has been generated automatically from * | ||
* * | ||
* src/core/geonode/qgsgeonodeconnection.h * | ||
* * | ||
* Do not edit manually ! Edit header and run scripts/sipify.pl again * | ||
************************************************************************/ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.