Skip to content
Permalink
Browse files
Add missing docs
  • Loading branch information
nyalldawson committed Apr 18, 2017
1 parent 023ad46 commit 1805a7095272f25006f206bd0348c17aa83803ac
Showing with 6 additions and 0 deletions.
  1. +3 −0 python/core/layertree/qgslayertreelayer.sip
  2. +3 −0 src/core/layertree/qgslayertreelayer.h
@@ -34,6 +34,9 @@ class QgsLayerTreeLayer : QgsLayerTreeNode


explicit QgsLayerTreeLayer( const QString &layerId, const QString &name = QString(), const QString &source = QString(), const QString &provider = QString() );
%Docstring
Constructor for QgsLayerTreeLayer using weak references to layer ID, name, public source, and provider key.
%End

QString layerId() const;
%Docstring
@@ -47,6 +47,9 @@ class CORE_EXPORT QgsLayerTreeLayer : public QgsLayerTreeNode
QgsLayerTreeLayer( const QgsLayerTreeLayer &other );
#endif

/**
* Constructor for QgsLayerTreeLayer using weak references to layer ID, \a name, public \a source, and \a provider key.
*/
explicit QgsLayerTreeLayer( const QString &layerId, const QString &name = QString(), const QString &source = QString(), const QString &provider = QString() );

QString layerId() const { return mRef.layerId; }

0 comments on commit 1805a70

Please sign in to comment.