Skip to content
Permalink
Browse files

Make names from QgisApp and QgisInterface match

  • Loading branch information
gacarrillor committed Nov 15, 2017
1 parent 9aa1f21 commit 829915e3fc26b314930309b8c16458b3bbbc43e2
Showing with 8 additions and 8 deletions.
  1. +2 −2 python/gui/qgisinterface.sip
  2. +2 −2 src/app/qgisappinterface.cpp
  3. +2 −2 src/app/qgisappinterface.h
  4. +2 −2 src/gui/qgisinterface.h
@@ -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
@@ -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 );
}
@@ -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;
@@ -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;

0 comments on commit 829915e

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