Skip to content

Commit a8d9dea

Browse files
committedNov 6, 2016
Add QgsExpressionContextGenerator inheritances in sip
1 parent e426dbc commit a8d9dea

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
 

‎python/core/composer/qgscomposerobject.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** \ingroup core
22
* A base class for objects which belong to a map composition.
33
*/
4-
class QgsComposerObject : QObject
4+
class QgsComposerObject : QObject, QgsExpressionContextGenerator
55
{
66
%TypeHeaderCode
77
#include <qgscomposerobject.h>

‎python/core/composer/qgscomposition.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* them in a list in ascending z-Order. This list can be changed to lower/raise items one position
55
* or to bring them to front/back.
66
* */
7-
class QgsComposition : QGraphicsScene
7+
class QgsComposition : QGraphicsScene, QgsExpressionContextGenerator
88
{
99
%TypeHeaderCode
1010
#include <qgscomposition.h>

‎python/core/qgsproject.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
properties.
1414

1515
*/
16-
class QgsProject : QObject
16+
class QgsProject : QObject, QgsExpressionContextGenerator
1717
{
1818
%TypeHeaderCode
1919
#include <qgsproject.h>

‎python/core/qgsvectorlayer.sip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ struct QgsVectorJoinInfo
316316
*/
317317

318318

319-
class QgsVectorLayer : QgsMapLayer
319+
class QgsVectorLayer : QgsMapLayer, QgsExpressionContextGenerator
320320
{
321321
%TypeHeaderCode
322322
#include "qgsvectorlayer.h"

0 commit comments

Comments
 (0)
Please sign in to comment.