Skip to content
Permalink
Browse files

Sipify

  • Loading branch information
nyalldawson committed Jul 16, 2018
1 parent f993ec0 commit 4c3aeb8701c7daadeccd58b69b14bcba25dcbea8
Showing with 8 additions and 1 deletion.
  1. +8 −1 python/core/auto_generated/qgsofflineediting.sip.in
@@ -28,16 +28,23 @@ class QgsOfflineEditing : QObject
UpdateGeometries
};

enum ContainerType
{
SpatiaLite,
GPKG
};

QgsOfflineEditing();

bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false );
bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false, ContainerType containerType = SpatiaLite );
%Docstring
Convert current project for offline editing

:param offlineDataPath: Path to offline db file
:param offlineDbFile: Offline db file name
:param layerIds: List of layer names to convert
:param onlySelected: Only copy selected features from layers where a selection is present
:param containerType: defines the SQLite file container type like SpatiaLite or GPKG
%End

bool isOfflineProject() const;

0 comments on commit 4c3aeb8

Please sign in to comment.
You can’t perform that action at this time.