Skip to content
Permalink
Browse files

Merge d76b313 into cherry-pick-backport-9656-to-release-3_4-bd38aa94-…

…1909-4761-9d01-22050c980709
  • Loading branch information
backporting committed Apr 1, 2019
2 parents 73ff5ac + d76b313 commit 08d18bea850f11ab7f356d09eb6c956ab89a4e27
@@ -8,11 +8,21 @@



%ModuleHeaderCode
#include <qgsvectorlayereditpassthrough.h>
%End

class QgsVectorLayerEditPassthrough : QgsVectorLayerEditBuffer
{

%TypeHeaderCode
#include "qgsvectorlayereditpassthrough.h"
%End
%ConvertToSubClassCode
if ( qobject_cast<QgsVectorLayerEditPassthrough *>( sipCpp ) )
sipType = sipType_QgsVectorLayerEditPassthrough;
else
sipType = nullptr;
%End
public:
QgsVectorLayerEditPassthrough( QgsVectorLayer *layer );
@@ -22,12 +22,28 @@ class QgsVectorLayer;
class QgsVectorLayerUndoPassthroughCommand;
class QgsTransaction;

#ifdef SIP_RUN
% ModuleHeaderCode
#include <qgsvectorlayereditpassthrough.h>
% End
#endif

/**
* \ingroup core
* \class QgsVectorLayerEditPassthrough
*/
class CORE_EXPORT QgsVectorLayerEditPassthrough : public QgsVectorLayerEditBuffer
{

#ifdef SIP_RUN
SIP_CONVERT_TO_SUBCLASS_CODE
if ( qobject_cast<QgsVectorLayerEditPassthrough *>( sipCpp ) )
sipType = sipType_QgsVectorLayerEditPassthrough;
else
sipType = nullptr;
SIP_END
#endif

Q_OBJECT
public:
QgsVectorLayerEditPassthrough( QgsVectorLayer *layer );

0 comments on commit 08d18be

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