Quantum GIS API Documentation  1.8
Public Member Functions | Static Public Member Functions
QgsDataCollectionItem Class Reference

A Collection: logical collection of layers or subcollections, e.g. More...

#include <qgsdataitem.h>

Inheritance diagram for QgsDataCollectionItem:
Inheritance graph
Collaboration diagram for QgsDataCollectionItem:
Collaboration graph

List of all members.

Public Member Functions

 QgsDataCollectionItem (QgsDataItem *parent, QString name, QString path=QString::null)
 ~QgsDataCollectionItem ()
void setPopulated ()
void addChild (QgsDataItem *item)

Static Public Member Functions

static const QIcon & iconDir ()
static const QIcon & iconDataCollection ()

Detailed Description

A Collection: logical collection of layers or subcollections, e.g.

GRASS location/mapset, database? wms source?

Definition at line 203 of file qgsdataitem.h.

Constructor & Destructor Documentation

QgsDataCollectionItem::QgsDataCollectionItem ( QgsDataItem parent,
QString  name,
QString  path = QString::null 

Definition at line 383 of file qgsdataitem.cpp.

References iconDataCollection(), and QgsDataItem::mIcon.

Definition at line 389 of file qgsdataitem.cpp.

References QgsDataItem::mChildren.

Member Function Documentation

void QgsDataCollectionItem::addChild ( QgsDataItem item) [inline]

Definition at line 211 of file qgsdataitem.h.

const QIcon & QgsDataCollectionItem::iconDataCollection ( ) [static]

Definition at line 104 of file qgsdataitem.cpp.

References QgsDataItem::getThemePixmap(), and QgsDataItem::icon().

Referenced by QgsDataCollectionItem().

const QIcon & QgsDataCollectionItem::iconDir ( ) [static]

Definition at line 114 of file qgsdataitem.cpp.

References QgsDataItem::icon().

Referenced by QgsDirectoryItem::QgsDirectoryItem().

Definition at line 210 of file qgsdataitem.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines