QGIS API Documentation
2.2.0-Valmiera
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
src
core
qgspluginlayer.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgspluginlayer.cpp
3
---------------------
4
begin : January 2010
5
copyright : (C) 2010 by Martin Dobias
6
email : wonder dot sk at gmail dot com
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
#include "
qgspluginlayer.h
"
16
17
QgsPluginLayer::QgsPluginLayer
( QString layerType, QString layerName )
18
:
QgsMapLayer
( PluginLayer, layerName ), mPluginLayerType( layerType )
19
{
20
}
21
22
QString
QgsPluginLayer::pluginLayerType
()
23
{
24
return
mPluginLayerType
;
25
}
26
27
void
QgsPluginLayer::setExtent
(
const
QgsRectangle
&extent )
28
{
29
mExtent
=
extent
;
30
}
31
32
QgsLegendSymbologyList
QgsPluginLayer::legendSymbologyItems
(
const
QSize& iconSize )
33
{
34
Q_UNUSED( iconSize );
35
return
QgsLegendSymbologyList
();
36
}
Generated on Sun Feb 23 2014 14:27:19 for QGIS API Documentation by
1.8.1.2