QGIS API Documentation  2.99.0-Master (7d4f81d)
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 30 of file qgsmimedatautils.h.

Member Typedef Documentation

◆ UriList

Definition at line 67 of file qgsmimedatautils.h.

Member Function Documentation

◆ decodeUriList()

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

Definition at line 119 of file qgsmimedatautils.cpp.

◆ encodeUriList()

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

Definition at line 110 of file qgsmimedatautils.cpp.

◆ isUriList()

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

Definition at line 105 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 177 of file qgsmimedatautils.cpp.


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