Skip to content

Commit

Permalink
Add QgsExpressionContextGenerator inheritances in sip
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-morvan committed Nov 6, 2016
1 parent e426dbc commit a8d9dea
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion python/core/composer/qgscomposerobject.sip
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** \ingroup core
* A base class for objects which belong to a map composition.
*/
class QgsComposerObject : QObject
class QgsComposerObject : QObject, QgsExpressionContextGenerator
{
%TypeHeaderCode
#include <qgscomposerobject.h>
Expand Down
2 changes: 1 addition & 1 deletion python/core/composer/qgscomposition.sip
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* them in a list in ascending z-Order. This list can be changed to lower/raise items one position
* or to bring them to front/back.
* */
class QgsComposition : QGraphicsScene
class QgsComposition : QGraphicsScene, QgsExpressionContextGenerator
{
%TypeHeaderCode
#include <qgscomposition.h>
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsproject.sip
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
properties.

*/
class QgsProject : QObject
class QgsProject : QObject, QgsExpressionContextGenerator
{
%TypeHeaderCode
#include <qgsproject.h>
Expand Down
2 changes: 1 addition & 1 deletion python/core/qgsvectorlayer.sip
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ struct QgsVectorJoinInfo
*/


class QgsVectorLayer : QgsMapLayer
class QgsVectorLayer : QgsMapLayer, QgsExpressionContextGenerator
{
%TypeHeaderCode
#include "qgsvectorlayer.h"
Expand Down

0 comments on commit a8d9dea

Please sign in to comment.