enh2424_plugin_layer_set_extents.diff
python/core/qgspluginlayer.sip (working copy) | ||
---|---|---|
11 | 11 |
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */ |
12 | 12 |
QString pluginLayerType(); |
13 | 13 | |
14 |
void setExtent(const QgsRectangle& extent); |
|
14 | 15 |
}; |
src/core/qgspluginlayer.cpp (working copy) | ||
---|---|---|
9 | 9 |
{ |
10 | 10 |
return mPluginLayerType; |
11 | 11 |
} |
12 | ||
13 |
void QgsPluginLayer::setExtent( const QgsRectangle & extent ) |
|
14 |
{ |
|
15 |
mLayerExtent = extent; |
|
16 |
} |
src/core/qgspluginlayer.h (working copy) | ||
---|---|---|
23 | 23 |
/** return plugin layer type (the same as used in QgsPluginLayerRegistry) */ |
24 | 24 |
QString pluginLayerType(); |
25 | 25 | |
26 |
void setExtent( const QgsRectangle & extent ); |
|
27 | ||
26 | 28 |
protected: |
27 | 29 |
QString mPluginLayerType; |
28 | 30 |
}; |