Skip to content
Permalink
Browse files

Fix documentation

  • Loading branch information
nyalldawson committed Jan 19, 2018
1 parent 5ee4b56 commit 884ccc869542bef5066c684e5c5551ecd77d0d39
Showing with 6 additions and 6 deletions.
  1. +4 −4 python/gui/qgsmapmouseevent.sip.in
  2. +2 −2 src/gui/qgsmapmouseevent.h
@@ -79,14 +79,14 @@ Will only be useful after snapPoint has previously been called.
%Docstring
Returns the matching data from the most recently snapped point.

:return: the snapping data structure

.. versionadded:: 2.14

.. note::

This method returns the most recent snap match. It must
follow a call to snapPoint() in order to have a recent snap result available.

:return: the snapping data structure

.. versionadded:: 2.14
%End

void setMapPoint( const QgsPointXY &point );
@@ -89,10 +89,10 @@ class GUI_EXPORT QgsMapMouseEvent : public QMouseEvent

/**
* Returns the matching data from the most recently snapped point.
* \note This method returns the most recent snap match. It must
* follow a call to snapPoint() in order to have a recent snap result available.
* \returns the snapping data structure
* \since QGIS 2.14
* \note This method returns the most recent snap match. It must
* follow a call to snapPoint() in order to have a recent snap result available.
*/
QgsPointLocator::Match mapPointMatch() const { return mSnapMatch; }

0 comments on commit 884ccc8

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