Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SIP update: QgsVectorLayer::applyNamedStyle, errorMsg is /Out/
  • Loading branch information
m-kuhn committed Jan 21, 2015
1 parent bebd71c commit 8f6b014
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion python/core/qgsvectorlayer.sip
Expand Up @@ -474,7 +474,17 @@ class QgsVectorLayer : QgsMapLayer
*/
virtual QString loadNamedStyle( const QString &theURI, bool &theResultFlag );

virtual bool applyNamedStyle( QString namedStyle, QString errorMsg );
/**
* Will load a named style from a provided QML string.
*
* @param namedStyle A QML string
* @param errorMsg An error message indicating problems if any
*
* @return true on success
*
* @deprecated Will be removed for QGIS 3 in favor of importNamedStyle
*/
virtual bool applyNamedStyle( QString namedStyle, QString &errorMsg /Out/ );

/** convert a saved attribute editor element into a AttributeEditor structure as it's used internally.
* @param elem the DOM element
Expand Down

0 comments on commit 8f6b014

Please sign in to comment.