QGIS API Documentation  2.99.0-Master (6a61179)
Classes | Public Types | Static Public Member Functions | List of all members
QgsMimeDataUtils Class Reference

#include <qgsmimedatautils.h>

Classes

struct  Uri
 

Public Types

typedef QList< UriUriList
 

Static Public Member Functions

static UriList decodeUriList (const QMimeData *data)
 
static QMimeData * encodeUriList (const UriList &layers)
 
static bool isUriList (const QMimeData *data)
 
static QByteArray layerTreeNodesToUriList (const QList< QgsLayerTreeNode *> &nodes)
 Returns encoded URI list from a list of layer tree nodes. More...
 

Detailed Description

Definition at line 27 of file qgsmimedatautils.h.

Member Typedef Documentation

§ UriList

Definition at line 58 of file qgsmimedatautils.h.

Member Function Documentation

§ decodeUriList()

QgsMimeDataUtils::UriList QgsMimeDataUtils::decodeUriList ( const QMimeData *  data)
static

Definition at line 85 of file qgsmimedatautils.cpp.

§ encodeUriList()

QMimeData * QgsMimeDataUtils::encodeUriList ( const UriList layers)
static

Definition at line 76 of file qgsmimedatautils.cpp.

§ isUriList()

bool QgsMimeDataUtils::isUriList ( const QMimeData *  data)
static

Definition at line 71 of file qgsmimedatautils.cpp.

§ layerTreeNodesToUriList()

QByteArray QgsMimeDataUtils::layerTreeNodesToUriList ( const QList< QgsLayerTreeNode *> &  nodes)
static

Returns encoded URI list from a list of layer tree nodes.

Note
added in QGIS 3.0

Definition at line 138 of file qgsmimedatautils.cpp.


The documentation for this class was generated from the following files: