Skip to content
Permalink
Browse files

Add missing /Factory/ annotation

  • Loading branch information
nyalldawson committed Nov 5, 2018
1 parent 82baff8 commit 19ef2f904b0315eecead60b1803d32ea23f16714
Showing with 9 additions and 2 deletions.
  1. +4 −1 python/core/auto_generated/qgsmimedatautils.sip.in
  2. +5 −1 src/core/qgsmimedatautils.h
@@ -80,7 +80,10 @@ Gets mesh layer from uri if possible, otherwise returns 0 and error is set
};
typedef QList<QgsMimeDataUtils::Uri> UriList;

static QMimeData *encodeUriList( const UriList &layers );
static QMimeData *encodeUriList( const UriList &layers ) /Factory/;
%Docstring
Encodes a URI list to a new QMimeData object.
%End

static bool isUriList( const QMimeData *data );

@@ -19,6 +19,7 @@
#include <QStringList>

#include "qgis_core.h"
#include "qgis_sip.h"

class QgsLayerItem;
class QgsLayerTreeNode;
@@ -98,7 +99,10 @@ class CORE_EXPORT QgsMimeDataUtils
};
typedef QList<QgsMimeDataUtils::Uri> UriList;

static QMimeData *encodeUriList( const UriList &layers );
/**
* Encodes a URI list to a new QMimeData object.
*/
static QMimeData *encodeUriList( const UriList &layers ) SIP_FACTORY;

static bool isUriList( const QMimeData *data );

0 comments on commit 19ef2f9

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