File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -500,6 +500,11 @@ class QgisInterface : QObject
500
500
* This signal is emitted before a new composer instance is going to be removed
501
501
*/
502
502
void composerWillBeRemoved( QgsComposerView* v );
503
+
504
+ /** This signal is emitted when a composer instance has been removed
505
+ @note added in version 2.9 */
506
+ void composerRemoved( QgsComposerView* v );
507
+
503
508
/**
504
509
* This signal is emitted when the initialization is complete
505
510
*/
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ QgisAppInterface::QgisAppInterface( QgisApp * _qgis )
60
60
this , SIGNAL ( composerAdded ( QgsComposerView* ) ) );
61
61
connect ( qgis, SIGNAL ( composerWillBeRemoved ( QgsComposerView* ) ),
62
62
this , SIGNAL ( composerWillBeRemoved ( QgsComposerView* ) ) );
63
+ connect ( qgis, SIGNAL ( composerRemoved ( QgsComposerView* ) ),
64
+ this , SIGNAL ( composerRemoved ( QgsComposerView* ) ) );
63
65
connect ( qgis, SIGNAL ( initializationCompleted () ),
64
66
this , SIGNAL ( initializationCompleted () ) );
65
67
connect ( qgis, SIGNAL ( newProject () ),
Original file line number Diff line number Diff line change @@ -556,6 +556,11 @@ class GUI_EXPORT QgisInterface : public QObject
556
556
* This signal is emitted before a new composer instance is going to be removed
557
557
*/
558
558
void composerWillBeRemoved ( QgsComposerView* v );
559
+
560
+ /* * This signal is emitted when a composer instance has been removed
561
+ @note added in version 2.9 */
562
+ void composerRemoved ( QgsComposerView* v );
563
+
559
564
/* *
560
565
* This signal is emitted when the initialization is complete
561
566
*/
You can’t perform that action at this time.
0 commit comments