Skip to content
Permalink
Browse files

sipify core composer part 1*

  • Loading branch information
3nids committed Jun 20, 2017
1 parent cfa6a31 commit 01ffc4edc781b673751c5efc57b7502756d4db6e
@@ -1,11 +1,5 @@
core/conversions.sip
core/qgsexception.sip
core/composer/qgsaddremoveitemcommand.sip
core/composer/qgsgroupungroupitemscommand.sip
core/composer/qgsaddremovemultiframecommand.sip
core/composer/qgscomposerarrow.sip
core/composer/qgscomposerattributetablemodelv2.sip
core/composer/qgscomposerattributetablev2.sip
core/composer/qgscomposereffect.sip
core/composer/qgscomposerframe.sip
core/composer/qgscomposerhtml.sip
@@ -1,8 +1,24 @@
/** A composer command class for adding / removing composer items. If mState == Removed, the command owns the item*/
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/composer/qgsaddremoveitemcommand.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/






class QgsAddRemoveItemCommand: QObject, QUndoCommand
{
%Docstring
A composer command class for adding / removing composer items. If mState == Removed, the command owns the item
%End

%TypeHeaderCode
#include "qgsaddremoveitemcommand.h"
#include "qgsaddremoveitemcommand.h"
%End
public:

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

void redo();
void undo();
virtual void redo();

virtual void undo();


signals:
void itemAdded( QgsComposerItem *item );
void itemRemoved( QgsComposerItem *item );

};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/composer/qgsaddremoveitemcommand.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
@@ -1,9 +1,22 @@
class QgsAddRemoveMultiFrameCommand : QUndoCommand
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/composer/qgsaddremovemultiframecommand.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/






class QgsAddRemoveMultiFrameCommand: QUndoCommand
{

%TypeHeaderCode
#include <qgsaddremovemultiframecommand.h>
#include "qgsaddremovemultiframecommand.h"
%End

public:

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

QgsAddRemoveMultiFrameCommand( State s, QgsComposerMultiFrame *multiFrame, QgsComposition *c, const QString &text, QUndoCommand *parent /TransferThis/ = 0 );
~QgsAddRemoveMultiFrameCommand();
void redo();
void undo();
virtual void redo();

virtual void undo();


};

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/composer/qgsaddremovemultiframecommand.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 01ffc4e

Please sign in to comment.
You can’t perform that action at this time.