QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsProviderSublayerModel::NonLayerItem Class Reference

Contains details for a non-sublayer item to include in a QgsProviderSublayerModel. More...

#include <qgsprovidersublayermodel.h>

Public Member Functions

QString description () const
 Returns the item's description. More...
 
QIcon icon () const
 Returns the item's icon. More...
 
QString name () const
 Returns the item's name. More...
 
bool operator!= (const QgsProviderSublayerModel::NonLayerItem &other) const
 
bool operator== (const QgsProviderSublayerModel::NonLayerItem &other) const
 
void setDescription (const QString &description)
 Sets the item's description. More...
 
void setIcon (const QIcon &icon)
 Sets the item's icon. More...
 
void setName (const QString &name)
 Sets the item's name. More...
 
void setType (const QString &type)
 Sets the item's type. More...
 
void setUri (const QString &uri)
 Set the item's uri. More...
 
QString type () const
 Returns the item's type. More...
 
QString uri () const
 Returns the item's URI. More...
 

Detailed Description

Contains details for a non-sublayer item to include in a QgsProviderSublayerModel.

Since
QGIS 3.22

Definition at line 92 of file qgsprovidersublayermodel.h.

Member Function Documentation

◆ description()

QString QgsProviderSublayerModel::NonLayerItem::description ( ) const

Returns the item's description.

See also
setDescription()

Definition at line 597 of file qgsprovidersublayermodel.cpp.

◆ icon()

QIcon QgsProviderSublayerModel::NonLayerItem::icon ( ) const

Returns the item's icon.

See also
setIcon()

Definition at line 617 of file qgsprovidersublayermodel.cpp.

◆ name()

QString QgsProviderSublayerModel::NonLayerItem::name ( ) const

Returns the item's name.

See also
setName()

Definition at line 587 of file qgsprovidersublayermodel.cpp.

◆ operator!=()

bool QgsProviderSublayerModel::NonLayerItem::operator!= ( const QgsProviderSublayerModel::NonLayerItem other) const

Definition at line 635 of file qgsprovidersublayermodel.cpp.

◆ operator==()

bool QgsProviderSublayerModel::NonLayerItem::operator== ( const QgsProviderSublayerModel::NonLayerItem other) const

Definition at line 627 of file qgsprovidersublayermodel.cpp.

◆ setDescription()

void QgsProviderSublayerModel::NonLayerItem::setDescription ( const QString &  description)

Sets the item's description.

See also
setDescription()

Definition at line 602 of file qgsprovidersublayermodel.cpp.

◆ setIcon()

void QgsProviderSublayerModel::NonLayerItem::setIcon ( const QIcon &  icon)

Sets the item's icon.

See also
setIcon()

Definition at line 622 of file qgsprovidersublayermodel.cpp.

◆ setName()

void QgsProviderSublayerModel::NonLayerItem::setName ( const QString &  name)

Sets the item's name.

See also
setName()

Definition at line 592 of file qgsprovidersublayermodel.cpp.

◆ setType()

void QgsProviderSublayerModel::NonLayerItem::setType ( const QString &  type)

Sets the item's type.

See also
type()

Definition at line 582 of file qgsprovidersublayermodel.cpp.

◆ setUri()

void QgsProviderSublayerModel::NonLayerItem::setUri ( const QString &  uri)

Set the item's uri.

See also
setUri()

Definition at line 612 of file qgsprovidersublayermodel.cpp.

◆ type()

QString QgsProviderSublayerModel::NonLayerItem::type ( ) const

Returns the item's type.

See also
setType()

Definition at line 577 of file qgsprovidersublayermodel.cpp.

◆ uri()

QString QgsProviderSublayerModel::NonLayerItem::uri ( ) const

Returns the item's URI.

See also
setUri()

Definition at line 607 of file qgsprovidersublayermodel.cpp.


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