Skip to content

Commit

Permalink
sipify all
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Apr 20, 2017
1 parent b272bf8 commit 8f2a5c7
Show file tree
Hide file tree
Showing 56 changed files with 156 additions and 36 deletions.
1 change: 1 addition & 0 deletions python/core/annotations/qgsannotationmanager.sip
Expand Up @@ -122,3 +122,4 @@ Emitted when an annotation is about to be removed from the manager
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

5 changes: 5 additions & 0 deletions python/core/annotations/qgshtmlannotation.sip
Expand Up @@ -33,8 +33,10 @@ class QgsHtmlAnnotation: QgsAnnotation

virtual QgsHtmlAnnotation *clone() const /Factory/;


virtual QSizeF minimumFrameSize() const;


void setSourceFile( const QString &htmlFile );
%Docstring
Sets the file path for the source HTML file.
Expand All @@ -53,6 +55,7 @@ class QgsHtmlAnnotation: QgsAnnotation

virtual void setAssociatedFeature( const QgsFeature &feature );


static QgsHtmlAnnotation *create() /Factory/;
%Docstring
Returns a new QgsHtmlAnnotation object.
Expand All @@ -63,6 +66,7 @@ class QgsHtmlAnnotation: QgsAnnotation

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;


};

/************************************************************************
Expand All @@ -72,3 +76,4 @@ class QgsHtmlAnnotation: QgsAnnotation
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 3 additions & 0 deletions python/core/annotations/qgssvgannotation.sip
Expand Up @@ -28,6 +28,7 @@ class QgsSvgAnnotation: QgsAnnotation

virtual QgsSvgAnnotation *clone() const /Factory/;


virtual void writeXml( QDomElement &elem, QDomDocument &doc ) const;
virtual void readXml( const QDomElement &itemElem, const QDomDocument &doc );

Expand All @@ -54,6 +55,7 @@ class QgsSvgAnnotation: QgsAnnotation

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;


};

/************************************************************************
Expand All @@ -63,3 +65,4 @@ class QgsSvgAnnotation: QgsAnnotation
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 3 additions & 0 deletions python/core/annotations/qgstextannotation.sip
Expand Up @@ -28,6 +28,7 @@ class QgsTextAnnotation: QgsAnnotation

virtual QgsTextAnnotation *clone() const /Factory/;


const QTextDocument *document() const;
%Docstring
Returns the text document which will be rendered
Expand Down Expand Up @@ -56,6 +57,7 @@ class QgsTextAnnotation: QgsAnnotation

virtual void renderAnnotation( QgsRenderContext &context, QSizeF size ) const;


};

/************************************************************************
Expand All @@ -65,3 +67,4 @@ class QgsTextAnnotation: QgsAnnotation
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/geometry/qgsbox3d.sip
Expand Up @@ -211,3 +211,4 @@ class QgsBox3d
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

2 changes: 1 addition & 1 deletion python/core/geometry/qgsrectangle.sip
Expand Up @@ -272,7 +272,6 @@ Copy constructor
%End

// QgsRectangle &operator=( const QgsRectangle &r1 );

void unionRect( const QgsRectangle &rect );
%Docstring
Updates the rectangle to include another rectangle.
Expand Down Expand Up @@ -308,3 +307,4 @@ Copy constructor
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 3 additions & 0 deletions python/core/layertree/qgslayertreegroup.sip
Expand Up @@ -31,12 +31,14 @@ class QgsLayerTreeGroup : QgsLayerTreeNode


virtual QString name() const;

%Docstring
Returns the group's name.
:rtype: str
%End

virtual void setName( const QString &n );

%Docstring
Sets the group's name.
%End
Expand Down Expand Up @@ -230,3 +232,4 @@ class QgsLayerTreeGroup : QgsLayerTreeNode
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 3 additions & 0 deletions python/core/layertree/qgslayertreelayer.sip
Expand Up @@ -49,13 +49,15 @@ class QgsLayerTreeLayer : QgsLayerTreeNode
%End

virtual QString name() const;

%Docstring
Returns the layer's name.
.. versionadded:: 3.0
:rtype: str
%End

virtual void setName( const QString &n );

%Docstring
Sets the layer's name.
.. versionadded:: 3.0
Expand Down Expand Up @@ -122,3 +124,4 @@ class QgsLayerTreeLayer : QgsLayerTreeNode
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

5 changes: 4 additions & 1 deletion python/core/processing/qgsprocessingalgorithm.sip
Expand Up @@ -10,6 +10,7 @@




class QgsProcessingAlgorithm
{
%Docstring
Expand All @@ -31,6 +32,7 @@ class QgsProcessingAlgorithm
};
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;


QgsProcessingAlgorithm();
%Docstring
Constructor for QgsProcessingAlgorithm.
Expand All @@ -39,7 +41,6 @@ class QgsProcessingAlgorithm
virtual ~QgsProcessingAlgorithm();

// QgsProcessingAlgorithm &operator=( const QgsProcessingAlgorithm &other ) = delete;

virtual QString name() const = 0;
%Docstring
Returns the algorithm name, used for identifying the algorithm. This string
Expand Down Expand Up @@ -117,10 +118,12 @@ QFlags<QgsProcessingAlgorithm::Flag> operator|(QgsProcessingAlgorithm::Flag f1,




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

2 changes: 2 additions & 0 deletions python/core/processing/qgsprocessingfeedback.sip
Expand Up @@ -9,6 +9,7 @@




class QgsProcessingFeedback : QgsFeedback
{
%Docstring
Expand Down Expand Up @@ -89,3 +90,4 @@ class QgsProcessingFeedback : QgsFeedback
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 2 additions & 1 deletion python/core/processing/qgsprocessingprovider.sip
Expand Up @@ -9,6 +9,7 @@




class QgsProcessingProvider : QObject
{
%Docstring
Expand All @@ -31,7 +32,6 @@ class QgsProcessingProvider : QObject
virtual ~QgsProcessingProvider();

// QgsProcessingProvider &operator=( const QgsProcessingProvider &other ) = delete;

virtual QIcon icon() const;
%Docstring
Returns an icon for the provider.
Expand Down Expand Up @@ -184,3 +184,4 @@ class QgsProcessingProvider : QObject
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

3 changes: 2 additions & 1 deletion python/core/processing/qgsprocessingregistry.sip
Expand Up @@ -9,6 +9,7 @@




class QgsProcessingRegistry : QObject
{
%Docstring
Expand All @@ -33,7 +34,6 @@ class QgsProcessingRegistry : QObject
~QgsProcessingRegistry();

// QgsProcessingRegistry &operator=( const QgsProcessingRegistry &other ) = delete;

QList<QgsProcessingProvider *> providers() const;
%Docstring
Get list of available providers.
Expand Down Expand Up @@ -114,3 +114,4 @@ Emitted when a provider is removed from the registry
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

2 changes: 2 additions & 0 deletions python/core/processing/qgsprocessingutils.sip
Expand Up @@ -12,6 +12,7 @@




class QgsProcessingUtils
{
%Docstring
Expand Down Expand Up @@ -108,3 +109,4 @@ class QgsProcessingUtils
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

4 changes: 1 addition & 3 deletions python/core/qgsaction.sip
Expand Up @@ -33,7 +33,6 @@ class QgsAction
%Docstring
Default constructor
%End

QgsAction( ActionType type, const QString &description, const QString &command, bool capture = false );
%Docstring
Create a new QgsAction
Expand All @@ -43,7 +42,6 @@ class QgsAction
\param command The action text. Its interpretation depends on the type
\param capture If this is set to true, the output will be captured when an action is run
%End

QgsAction( ActionType type, const QString &description, const QString &action, const QString &icon, bool capture, const QString &shortTitle = QString(), const QSet<QString> &actionScopes = QSet<QString>() );
%Docstring
Create a new QgsAction
Expand All @@ -56,7 +54,6 @@ class QgsAction
\param shortTitle A short string used to label user interface elements like buttons
\param actionScopes A set of scopes in which this action will be available
%End

QString name() const;
%Docstring
The name of the action. This may be a longer description.
Expand Down Expand Up @@ -185,3 +182,4 @@ Checks if the action is runable on the current platform
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

2 changes: 1 addition & 1 deletion python/core/qgsactionmanager.sip
Expand Up @@ -29,7 +29,6 @@ class QgsActionManager
%Docstring
Constructor
%End

QUuid addAction( QgsAction::ActionType type, const QString &name, const QString &command, bool capture = false );
%Docstring
Add an action with the given name and action details.
Expand Down Expand Up @@ -146,3 +145,4 @@ Reads the actions in in XML format
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/qgsactionscope.sip
Expand Up @@ -130,3 +130,4 @@ class QgsActionScope
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/qgsactionscoperegistry.sip
Expand Up @@ -88,3 +88,4 @@ class QgsActionScopeRegistry : QObject
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

2 changes: 2 additions & 0 deletions python/core/qgsaggregatecalculator.sip
Expand Up @@ -11,6 +11,7 @@




class QgsAggregateCalculator
{
%Docstring
Expand Down Expand Up @@ -147,3 +148,4 @@ class QgsAggregateCalculator
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/qgsanimatedicon.sip
Expand Up @@ -101,3 +101,4 @@ class QgsAnimatedIcon : QObject
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

7 changes: 2 additions & 5 deletions python/core/qgsattributeeditorelement.sip
Expand Up @@ -24,6 +24,7 @@ class QgsAttributeEditorElement /Abstract/
%TypeHeaderCode
#include "qgsattributeeditorelement.h"
%End

%ConvertToSubClassCode
switch ( sipCpp->type() )
{
Expand Down Expand Up @@ -58,7 +59,6 @@ class QgsAttributeEditorElement /Abstract/
\param name
\param parent
%End

virtual ~QgsAttributeEditorElement();

QString name() const;
Expand Down Expand Up @@ -143,7 +143,6 @@ class QgsAttributeEditorContainer : QgsAttributeEditorElement
\param parent The parent. May be another container.
%End


virtual ~QgsAttributeEditorContainer();

virtual void addChildElement( QgsAttributeEditorElement *element );
Expand Down Expand Up @@ -255,7 +254,6 @@ class QgsAttributeEditorField : QgsAttributeEditorElement
\param idx The index of the field which should be embedded
\param parent The parent of this widget (used as container)
%End

int idx() const;
%Docstring
Return the index of the field
Expand Down Expand Up @@ -286,7 +284,6 @@ class QgsAttributeEditorRelation : QgsAttributeEditorElement
\param relationId The id of the relation to embed
\param parent The parent (used as container)
%End

QgsAttributeEditorRelation( const QString &name, const QgsRelation &relation, QgsAttributeEditorElement *parent );
%Docstring
Creates a new element which embeds a relation.
Expand All @@ -295,7 +292,6 @@ class QgsAttributeEditorRelation : QgsAttributeEditorElement
\param relation The relation to embed
\param parent The parent (used as container)
%End

const QgsRelation &relation() const;
%Docstring
Get the id of the relation which shall be embedded
Expand Down Expand Up @@ -356,3 +352,4 @@ class QgsAttributeEditorRelation : QgsAttributeEditorElement
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/qgsattributes.sip
Expand Up @@ -113,3 +113,4 @@ typedef QVector<QVariant> QgsAttributes;
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

2 changes: 1 addition & 1 deletion python/core/qgsattributetableconfig.sip
Expand Up @@ -36,7 +36,6 @@ class QgsAttributeTableConfig
Constructor for ColumnConfig
%End


QgsAttributeTableConfig::Type type; //!< The type of this column.
QString name; //!< The name of the attribute if this column represents a field
bool hidden; //!< Flag that controls if the column is hidden
Expand Down Expand Up @@ -189,3 +188,4 @@ Constructor for ColumnConfig
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

1 change: 1 addition & 0 deletions python/core/qgsclipper.sip
Expand Up @@ -99,3 +99,4 @@ Minimum Y-coordinate of the rectangular box used for clipping.
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/

0 comments on commit 8f2a5c7

Please sign in to comment.