Skip to content

Commit 4c3aeb8

Browse files
committedJul 16, 2018
Sipify
1 parent f993ec0 commit 4c3aeb8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed
 

‎python/core/auto_generated/qgsofflineediting.sip.in

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,23 @@ class QgsOfflineEditing : QObject
2828
UpdateGeometries
2929
};
3030

31+
enum ContainerType
32+
{
33+
SpatiaLite,
34+
GPKG
35+
};
36+
3137
QgsOfflineEditing();
3238

33-
bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false );
39+
bool convertToOfflineProject( const QString &offlineDataPath, const QString &offlineDbFile, const QStringList &layerIds, bool onlySelected = false, ContainerType containerType = SpatiaLite );
3440
%Docstring
3541
Convert current project for offline editing
3642

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

4350
bool isOfflineProject() const;

0 commit comments

Comments
 (0)
Please sign in to comment.