Skip to content
Permalink
Browse files

Add missing /Factory/ annotation

(cherry picked from commit 19ef2f9)
  • Loading branch information
nyalldawson committed Nov 5, 2018
1 parent 85aaf7e commit e3c4188e9a6b0b033fed474f1c60c725ce41b3af
Showing with 9 additions and 2 deletions.
  1. +4 −1 python/core/auto_generated/qgsmimedatautils.sip.in
  2. +5 −1 src/core/qgsmimedatautils.h
@@ -74,7 +74,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;
@@ -90,7 +91,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 e3c4188

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