00001 /*************************************************************************** 00002 qgsprovidercountcalcevent.h - Notification that the exact count 00003 of a layer has been calculated. 00004 ------------------- 00005 begin : Feb 1, 2005 00006 copyright : (C) 2005 by Brendan Morley 00007 email : morb at ozemail dot com dot au 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 /* $Id$ */ 00019 00020 #ifndef QGSPROVIDERCOUNTCALCEVENT_H 00021 #define QGSPROVIDERCOUNTCALCEVENT_H 00022 00023 #include <QEvent> 00024 00040 // TODO: Add the pg table this is a count OF. 00041 00042 class CORE_EXPORT QgsProviderCountCalcEvent : public QEvent 00043 { 00044 00045 public: 00046 00047 QgsProviderCountCalcEvent( long featuresCounted ); 00048 00049 long featuresCounted() const; 00050 00051 00052 private: 00053 00054 long n; 00055 00056 }; 00057 00058 #endif