QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
QgsErrorItem Class Reference

Data item that can be used to report problems (e.g. More...

#include <qgsdataitem.h>

Inheritance diagram for QgsErrorItem:
Inheritance graph
[legend]

Public Member Functions

 QgsErrorItem (QgsDataItem *parent, QString error, QString path)
 
 ~QgsErrorItem ()
 
- Public Member Functions inherited from QgsDataItem
 QgsDataItem (QgsDataItem::Type type, QgsDataItem *parent, QString name, QString path)
 
virtual ~QgsDataItem ()
 
bool hasChildren ()
 
int rowCount ()
 
virtual void refresh ()
 
virtual QVector< QgsDataItem * > createChildren ()
 
virtual void populate ()
 
bool isPopulated ()
 
virtual void addChildItem (QgsDataItem *child, bool refresh=false)
 
virtual void deleteChildItem (QgsDataItem *child)
 
virtual QgsDataItemremoveChildItem (QgsDataItem *child)
 
virtual bool equal (const QgsDataItem *other)
 
virtual QWidget * paramWidget ()
 
virtual QList< QAction * > actions ()
 
virtual bool acceptDrop ()
 
virtual bool handleDrop (const QMimeData *, Qt::DropAction)
 
virtual bool setCrs (QgsCoordinateReferenceSystem crs)
 
virtual Capability capabilities ()
 
Type type () const
 
QgsDataItemparent () const
 
void setParent (QgsDataItem *parent)
 
QVector< QgsDataItem * > children () const
 
QIcon icon () const
 
QString name () const
 
QString path () const
 
void setIcon (QIcon icon)
 
void setToolTip (QString msg)
 
QString toolTip () const
 

Additional Inherited Members

- Public Types inherited from QgsDataItem
enum  Type {
  Collection, Directory, Layer, Error,
  Favourites
}
 
enum  Capability { NoCapabilities = 0, SetCrs = 1 }
 
- Public Slots inherited from QgsDataItem
void emitBeginInsertItems (QgsDataItem *parent, int first, int last)
 
void emitEndInsertItems ()
 
void emitBeginRemoveItems (QgsDataItem *parent, int first, int last)
 
void emitEndRemoveItems ()
 
- Signals inherited from QgsDataItem
void beginInsertItems (QgsDataItem *parent, int first, int last)
 
void endInsertItems ()
 
void beginRemoveItems (QgsDataItem *parent, int first, int last)
 
void endRemoveItems ()
 
- Static Public Member Functions inherited from QgsDataItem
static int findItem (QVector< QgsDataItem * > items, QgsDataItem *item)
 
- Protected Attributes inherited from QgsDataItem
Type mType
 
QgsDataItemmParent
 
QVector< QgsDataItem * > mChildren
 
bool mPopulated
 
QString mName
 
QString mPath
 
QString mToolTip
 
QIcon mIcon
 

Detailed Description

Data item that can be used to report problems (e.g.

network error)

Constructor & Destructor Documentation

QgsErrorItem::QgsErrorItem ( QgsDataItem parent,
QString  error,
QString  path 
)
QgsErrorItem::~QgsErrorItem ( )

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