Skip to content

Commit

Permalink
Make names from QgisApp and QgisInterface match
Browse files Browse the repository at this point in the history
  • Loading branch information
gacarrillor committed Nov 15, 2017
1 parent 9aa1f21 commit 829915e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions python/gui/qgisinterface.sip
Original file line number Diff line number Diff line change
Expand Up @@ -767,12 +767,12 @@ Start a blank project
:rtype: bool
%End

virtual void copyFeatures( QgsMapLayer * ) = 0;
virtual void editCopy( QgsMapLayer * ) = 0;
%Docstring
Copy selected features from the layer to clipboard
%End

virtual void pasteFeatures( QgsMapLayer * ) = 0;
virtual void editPaste( QgsMapLayer * ) = 0;
%Docstring
Paste features from clipboard to the layer
%End
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgisappinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,12 @@ bool QgisAppInterface::setActiveLayer( QgsMapLayer *layer )
return qgis->setActiveLayer( layer );
}

void QgisAppInterface::copyFeatures( QgsMapLayer *layer )
void QgisAppInterface::editCopy( QgsMapLayer *layer )
{
return qgis->editCopy( layer );
}

void QgisAppInterface::pasteFeatures( QgsMapLayer *layer )
void QgisAppInterface::editPaste( QgsMapLayer *layer )
{
return qgis->editPaste( layer );
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/qgisappinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,10 @@ class APP_EXPORT QgisAppInterface : public QgisInterface
bool setActiveLayer( QgsMapLayer *layer ) override;

//! Copy selected features from the layer to clipboard
virtual void copyFeatures( QgsMapLayer *layer ) override;
virtual void editCopy( QgsMapLayer *layer ) override;

//! Paste features from clipboard to the layer
virtual void pasteFeatures( QgsMapLayer *layer ) override;
virtual void editPaste( QgsMapLayer *layer ) override;

//! Add an icon to the plugins toolbar
int addToolBarIcon( QAction *qAction ) override;
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgisinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,10 @@ class GUI_EXPORT QgisInterface : public QObject
virtual bool setActiveLayer( QgsMapLayer * ) = 0;

//! Copy selected features from the layer to clipboard
virtual void copyFeatures( QgsMapLayer * ) = 0;
virtual void editCopy( QgsMapLayer * ) = 0;

//! Paste features from clipboard to the layer
virtual void pasteFeatures( QgsMapLayer * ) = 0;
virtual void editPaste( QgsMapLayer * ) = 0;

//! Add an icon to the plugins toolbar
virtual int addToolBarIcon( QAction *qAction ) = 0;
Expand Down

0 comments on commit 829915e

Please sign in to comment.