QGIS/python/gui/qgscomposerinterface.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

64 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscomposerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsComposerInterface: QObject
{
%Docstring
A common interface for composer dialogs.
Provides a common interface and stable API for composer editor dialogs.
This interface can be used by plugins and scripts to interact with
open composer dialogs.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgscomposerinterface.h"
%End
public:
QgsComposerInterface( QObject *parent /TransferThis/ = 0 );
%Docstring
Constructor for QgsComposerInterface.
%End
~QgsComposerInterface();
virtual QgsComposerView *view() = 0;
%Docstring
Returns the composer's QgsComposerView editor widget.
:rtype: QgsComposerView
%End
virtual QgsComposition *composition() = 0;
%Docstring
Returns the composition displated in the composer.
:rtype: QgsComposition
%End
virtual void close() = 0;
%Docstring
Closes the composer window.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/qgscomposerinterface.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/