Skip to content
Permalink
Browse files

Merge pull request #1978 from m-kuhn/composerremoved

Add QgisInterface::composerRemoved signal
  • Loading branch information
nyalldawson committed Apr 8, 2015
2 parents 77ede9c + ed005c0 commit e8b06c7bf117b503941d2b7d8051c12a04db4157
Showing with 12 additions and 0 deletions.
  1. +5 −0 python/gui/qgisinterface.sip
  2. +2 −0 src/app/qgisappinterface.cpp
  3. +5 −0 src/gui/qgisinterface.h
@@ -500,6 +500,11 @@ class QgisInterface : QObject
* This signal is emitted before a new composer instance is going to be removed
*/
void composerWillBeRemoved( QgsComposerView* v );

/** This signal is emitted when a composer instance has been removed
@note added in version 2.9 */
void composerRemoved( QgsComposerView* v );

/**
* This signal is emitted when the initialization is complete
*/
@@ -60,6 +60,8 @@ QgisAppInterface::QgisAppInterface( QgisApp * _qgis )
this, SIGNAL( composerAdded( QgsComposerView* ) ) );
connect( qgis, SIGNAL( composerWillBeRemoved( QgsComposerView* ) ),
this, SIGNAL( composerWillBeRemoved( QgsComposerView* ) ) );
connect( qgis, SIGNAL( composerRemoved( QgsComposerView* ) ),
this, SIGNAL( composerRemoved( QgsComposerView* ) ) );
connect( qgis, SIGNAL( initializationCompleted() ),
this, SIGNAL( initializationCompleted() ) );
connect( qgis, SIGNAL( newProject() ),
@@ -556,6 +556,11 @@ class GUI_EXPORT QgisInterface : public QObject
* This signal is emitted before a new composer instance is going to be removed
*/
void composerWillBeRemoved( QgsComposerView* v );

/** This signal is emitted when a composer instance has been removed
@note added in version 2.9 */
void composerRemoved( QgsComposerView* v );

/**
* This signal is emitted when the initialization is complete
*/

0 comments on commit e8b06c7

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