Skip to content

Commit 6f51a13

Browse files
committedAug 8, 2016
remove QgisInterface::actionLayerSelectionSaveAs
this has been deprecated since 2.4 and returns null pointer since then. did not write this in api_break to not overload the document
1 parent aa82141 commit 6f51a13

File tree

4 files changed

+0
-8
lines changed

4 files changed

+0
-8
lines changed
 

‎python/gui/qgisinterface.sip

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,8 +440,6 @@ class QgisInterface : QObject
440440
virtual QAction *actionCancelEdits() = 0;
441441
virtual QAction *actionCancelAllEdits() = 0;
442442
virtual QAction *actionLayerSaveAs() = 0;
443-
/** @deprecated in 2.4 - returns null pointer */
444-
virtual QAction *actionLayerSelectionSaveAs() = 0 /Deprecated/;
445443
virtual QAction *actionRemoveLayer() = 0;
446444
virtual QAction *actionDuplicateLayer() = 0;
447445
virtual QAction *actionLayerProperties() = 0;

‎src/app/qgisappinterface.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,6 @@ QAction *QgisAppInterface::actionRollbackAllEdits() { return qgis->actionRollbac
591591
QAction *QgisAppInterface::actionCancelEdits() { return qgis->actionCancelEdits(); }
592592
QAction *QgisAppInterface::actionCancelAllEdits() { return qgis->actionCancelAllEdits(); }
593593
QAction *QgisAppInterface::actionLayerSaveAs() { return qgis->actionLayerSaveAs(); }
594-
QAction *QgisAppInterface::actionLayerSelectionSaveAs() { return nullptr; }
595594
QAction *QgisAppInterface::actionRemoveLayer() { return qgis->actionRemoveLayer(); }
596595
QAction *QgisAppInterface::actionDuplicateLayer() { return qgis->actionDuplicateLayer(); }
597596
QAction *QgisAppInterface::actionLayerProperties() { return qgis->actionLayerProperties(); }

‎src/app/qgisappinterface.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
414414
virtual QAction *actionCancelEdits() override;
415415
virtual QAction *actionCancelAllEdits() override;
416416
virtual QAction *actionLayerSaveAs() override;
417-
virtual QAction *actionLayerSelectionSaveAs() override;
418417
virtual QAction *actionRemoveLayer() override;
419418
virtual QAction *actionDuplicateLayer() override;
420419
virtual QAction *actionLayerProperties() override;

‎src/gui/qgisinterface.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -495,10 +495,6 @@ class GUI_EXPORT QgisInterface : public QObject
495495
virtual QAction *actionCancelAllEdits() = 0;
496496
virtual QAction *actionLayerSaveAs() = 0;
497497
/** @deprecated in 2.4 - returns null pointer */
498-
#ifndef Q_MOC_RUN
499-
Q_DECL_DEPRECATED
500-
#endif
501-
virtual QAction *actionLayerSelectionSaveAs() = 0;
502498
virtual QAction *actionRemoveLayer() = 0;
503499
virtual QAction *actionDuplicateLayer() = 0;
504500
virtual QAction *actionLayerProperties() = 0;

0 commit comments

Comments
 (0)
Please sign in to comment.