Fix documentation

This commit is contained in:
Nyall Dawson 2018-01-19 14:18:27 +10:00
parent 5ee4b565fd
commit 884ccc8695
2 changed files with 6 additions and 6 deletions

View File

@ -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 );

View File

@ -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; }