Skip to content

Commit 01ffc4e

Browse files
committed
sipify core composer part 1*
1 parent cfa6a31 commit 01ffc4e

7 files changed

+683
-437
lines changed

python/auto_sip.blacklist

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
core/conversions.sip
22
core/qgsexception.sip
3-
core/composer/qgsaddremoveitemcommand.sip
4-
core/composer/qgsgroupungroupitemscommand.sip
5-
core/composer/qgsaddremovemultiframecommand.sip
6-
core/composer/qgscomposerarrow.sip
7-
core/composer/qgscomposerattributetablemodelv2.sip
8-
core/composer/qgscomposerattributetablev2.sip
93
core/composer/qgscomposereffect.sip
104
core/composer/qgscomposerframe.sip
115
core/composer/qgscomposerhtml.sip

python/core/composer/qgsaddremoveitemcommand.sip

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
1-
/** A composer command class for adding / removing composer items. If mState == Removed, the command owns the item*/
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/core/composer/qgsaddremoveitemcommand.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
13+
214
class QgsAddRemoveItemCommand: QObject, QUndoCommand
315
{
16+
%Docstring
17+
A composer command class for adding / removing composer items. If mState == Removed, the command owns the item
18+
%End
19+
420
%TypeHeaderCode
5-
#include "qgsaddremoveitemcommand.h"
21+
#include "qgsaddremoveitemcommand.h"
622
%End
723
public:
824

@@ -15,10 +31,21 @@ class QgsAddRemoveItemCommand: QObject, QUndoCommand
1531
QgsAddRemoveItemCommand( State s, QgsComposerItem *item, QgsComposition *c, const QString &text, QUndoCommand *parent /TransferThis/ = 0 );
1632
~QgsAddRemoveItemCommand();
1733

18-
void redo();
19-
void undo();
34+
virtual void redo();
35+
36+
virtual void undo();
37+
2038

2139
signals:
2240
void itemAdded( QgsComposerItem *item );
2341
void itemRemoved( QgsComposerItem *item );
42+
2443
};
44+
45+
/************************************************************************
46+
* This file has been generated automatically from *
47+
* *
48+
* src/core/composer/qgsaddremoveitemcommand.h *
49+
* *
50+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
51+
************************************************************************/
Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,22 @@
1-
class QgsAddRemoveMultiFrameCommand : QUndoCommand
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/core/composer/qgsaddremovemultiframecommand.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
13+
14+
class QgsAddRemoveMultiFrameCommand: QUndoCommand
215
{
16+
317
%TypeHeaderCode
4-
#include <qgsaddremovemultiframecommand.h>
18+
#include "qgsaddremovemultiframecommand.h"
519
%End
6-
720
public:
821

922
enum State
@@ -14,6 +27,17 @@ class QgsAddRemoveMultiFrameCommand : QUndoCommand
1427

1528
QgsAddRemoveMultiFrameCommand( State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent /TransferThis/ = 0 );
1629
~QgsAddRemoveMultiFrameCommand();
17-
void redo();
18-
void undo();
30+
virtual void redo();
31+
32+
virtual void undo();
33+
34+
1935
};
36+
37+
/************************************************************************
38+
* This file has been generated automatically from *
39+
* *
40+
* src/core/composer/qgsaddremovemultiframecommand.h *
41+
* *
42+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
43+
************************************************************************/

0 commit comments

Comments
 (0)