Skip to content
Permalink
Browse files
[FEATURE] add QgisInterface::setActiveLayer()
also fixes #2167


git-svn-id: http://svn.osgeo.org/qgis/trunk@12358 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 7, 2009
1 parent 43183fa commit 35e9935
Show file tree
Hide file tree
Showing 9 changed files with 175 additions and 132 deletions.
@@ -52,6 +52,10 @@ class QgisInterface : QObject
//! Get pointer to the active layer (layer selected in the legend)
virtual QgsMapLayer *activeLayer()=0;

//! Get pointer to the active layer (layer selected in the legend)
//! added in 1.4
virtual bool setActiveLayer( QgsMapLayer * )=0;

//! Add an icon to the plugins toolbar
virtual int addToolBarIcon(QAction *qAction) =0;
//! Remove an action (icon) from the plugin toolbar

0 comments on commit 35e9935

Please sign in to comment.