Quantum GIS API Documentation  1.8
Public Member Functions | Private Attributes
QgsProviderExtentCalcEvent Class Reference

A custom event that is designed to be fired when a layer extent has been fully calculated. More...

#include <qgsproviderextentcalcevent.h>

Collaboration diagram for QgsProviderExtentCalcEvent:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 QgsProviderExtentCalcEvent (QgsRectangle *layerExtent)
QgsRectanglelayerExtent () const

Private Attributes

QgsRectanglele

Detailed Description

A custom event that is designed to be fired when a layer extent has been fully calculated.

Author:
Brendan Morley
Date:
March 2005

This custom QEvent is designed to be fired when the full extent of a layer has been calculated. It was initially included in QGIS to help the QgsPostgresProvider provide the asynchronous calculation of PostgreSQL layer extents.

Events are used instead of Qt signals/slots as events can be received asynchronously, which makes for better mutlithreading behaviour and less opportunity for programmer mishap.

Definition at line 42 of file qgsproviderextentcalcevent.h.


Constructor & Destructor Documentation

Definition at line 22 of file qgsproviderextentcalcevent.cpp.


Member Function Documentation

Definition at line 30 of file qgsproviderextentcalcevent.cpp.

References le.


Member Data Documentation

Definition at line 54 of file qgsproviderextentcalcevent.h.

Referenced by layerExtent().


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