QGIS API Documentation
2.18.21-Las Palmas (9fba24a)
src
core
qgsproviderextentcalcevent.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsproviderextentcalcevent.cpp - Notification that the exact extent
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
#include "
qgsproviderextentcalcevent.h
"
20
#include "
qgis.h
"
21
22
QgsProviderExtentCalcEvent::QgsProviderExtentCalcEvent
(
QgsRectangle
* layerExtent )
23
:
QEvent
( static_cast<
QEvent
::Type>(
QGis
::ProviderExtentCalcEvent ) )
24
, le( layerExtent )
25
{
26
// NO-OP
27
}
28
29
30
QgsRectangle
*
QgsProviderExtentCalcEvent::layerExtent
()
const
31
{
32
return
le;
33
}
34
QEvent
QgsRectangle
A rectangle specified with double values.
Definition:
qgsrectangle.h:35
qgsproviderextentcalcevent.h
QgsProviderExtentCalcEvent::QgsProviderExtentCalcEvent
QgsProviderExtentCalcEvent(QgsRectangle *layerExtent)
Definition:
qgsproviderextentcalcevent.cpp:22
QGis
The QGis class provides global constants for use throughout the application.
Definition:
qgis.h:40
QgsProviderExtentCalcEvent::layerExtent
QgsRectangle * layerExtent() const
Definition:
qgsproviderextentcalcevent.cpp:30
qgis.h
Generated on Sun Jun 24 2018 11:42:48 for QGIS API Documentation by
1.8.13