QGIS API Documentation  3.0.2-Girona (307d082)
Classes | Public Types | Static Public Member Functions | List of all members
QgsMimeDataUtils Class Reference

#include <qgsmimedatautils.h>

Classes

struct  Uri
 

Public Types

typedef QList< QgsMimeDataUtils::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 32 of file qgsmimedatautils.h.

Member Typedef Documentation

◆ UriList

Definition at line 82 of file qgsmimedatautils.h.

Member Function Documentation

◆ decodeUriList()

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

Definition at line 127 of file qgsmimedatautils.cpp.

◆ encodeUriList()

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

Definition at line 118 of file qgsmimedatautils.cpp.

◆ isUriList()

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

Definition at line 113 of file qgsmimedatautils.cpp.

◆ layerTreeNodesToUriList()

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

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

Since
QGIS 3.0

Definition at line 185 of file qgsmimedatautils.cpp.


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