QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qgsprovidercountcalcevent.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsprovidercountcalcevent.h - Notification that the exact count
3  of a layer has been calculated.
4  -------------------
5  begin : Feb 1, 2005
6  copyright : (C) 2005 by Brendan Morley
7  email : morb at ozemail dot com dot au
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef QGSPROVIDERCOUNTCALCEVENT_H
20 #define QGSPROVIDERCOUNTCALCEVENT_H
21 
22 #include <QEvent>
23 
39 // TODO: Add the pg table this is a count OF.
40 
41 class CORE_EXPORT QgsProviderCountCalcEvent : public QEvent
42 {
43 
44  public:
45 
46  QgsProviderCountCalcEvent( long featuresCounted );
47 
48  long featuresCounted() const;
49 
50 
51  private:
52 
53  long n;
54 
55 };
56 
57 #endif