Skip to content
Permalink
Browse files
reverted patch from r7112 since we are in feature freeze
git-svn-id: http://svn.osgeo.org/qgis/trunk@7114 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jul 30, 2007
1 parent fedafb5 commit 054732118c84944a6ee36b18dc8ea90f5b50343e
Showing with 0 additions and 14 deletions.
  1. +0 −3 python/gui/qgisinterface.sip
  2. +0 −5 src/app/qgisappinterface.cpp
  3. +0 −3 src/app/qgisappinterface.h
  4. +0 −3 src/gui/qgisinterface.h
@@ -81,9 +81,6 @@ class QgisInterface : QObject
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox()=0;

/** refresh legend of a layer */
virtual void refreshLegend( QgsMapLayer * layer )=0;

signals:
/** Emited whenever current (selected) layer changes.
* The pointer to layer can be null if no layer is selected
@@ -140,8 +140,3 @@ QToolBox* QgisAppInterface::getToolBox()
{
return qgis->toolBox;
}

void QgisAppInterface::refreshLegend(QgsMapLayer *l)
{
qgis->legend()->refreshLayerSymbology(l->getLayerID());
}
@@ -104,9 +104,6 @@ class QgisAppInterface : public QgisInterface
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox();

/** refresh the legend of a layer */
virtual void refreshLegend(QgsMapLayer *l);

private:

/// QgisInterface aren't copied
@@ -113,9 +113,6 @@ class GUI_EXPORT QgisInterface : public QObject
/** Return a pointer to the toolbox (where additional pages can be inserted) */
virtual QToolBox* getToolBox()=0;

/** refresh the legend of a layer */
virtual void refreshLegend(QgsMapLayer *l)=0;

signals:
/** Emited whenever current (selected) layer changes.
* The pointer to layer can be null if no layer is selected

0 comments on commit 0547321

Please sign in to comment.