Quantum GIS API Documentation  1.7.4
src/core/qgsproviderextentcalcevent.cpp
Go to the documentation of this file.
00001 /***************************************************************************
00002       qgsproviderextentcalcevent.cpp  -  Notification that the exact extent
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 #include "qgsproviderextentcalcevent.h"
00021 #include "qgis.h"
00022 
00023 QgsProviderExtentCalcEvent::QgsProviderExtentCalcEvent( QgsRectangle* layerExtent )
00024     : QEvent( static_cast<QEvent::Type>( QGis::ProviderExtentCalcEvent ) ),
00025     le( layerExtent )
00026 {
00027   // NO-OP
00028 }
00029 
00030 
00031 QgsRectangle* QgsProviderExtentCalcEvent::layerExtent() const
00032 {
00033   return le;
00034 }
00035 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines