Quantum GIS API Documentation 1.8
A custom event that is designed to be fired when a layer count has been fully calculated. More...
|QgsProviderCountCalcEvent (long featuresCounted)|
|long||featuresCounted () const|
A custom event that is designed to be fired when a layer count has been fully calculated.
This custom QEvent is designed to be fired when the full item count of a layer has been calculated. It was initially included in QGIS to help the QgsPostgresProvider provide the asynchronous calculation of PostgreSQL layer counts.
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.