This commit is contained in:
Nyall Dawson 2020-01-06 22:08:47 +10:00
parent 7affde6624
commit a72d8faef5
2 changed files with 6 additions and 4 deletions

View File

@ -32,7 +32,6 @@ A numeric formatter which returns a text representation of a direction/bearing.
Default constructor
%End
virtual QString id() const;
virtual QString formatDouble( double value, const QgsNumericFormatContext &context ) const;
@ -60,6 +59,7 @@ described in the returned strings.
.. seealso:: :py:func:`directionFormat`
%End
private:
QgsBearingNumericFormat( const QgsBearingNumericFormat &other );
};

View File

@ -45,9 +45,6 @@ class CORE_EXPORT QgsBearingNumericFormat : public QgsBasicNumericFormat
*/
QgsBearingNumericFormat();
QgsBearingNumericFormat( const QgsBearingNumericFormat & ) = delete;
QgsBearingNumericFormat &operator=( const QgsBearingNumericFormat & ) = delete;
QString id() const override;
QString formatDouble( double value, const QgsNumericFormatContext &context ) const override;
QgsNumericFormat *clone() const override SIP_FACTORY;
@ -70,6 +67,11 @@ class CORE_EXPORT QgsBearingNumericFormat : public QgsBasicNumericFormat
*/
void setDirectionFormat( const FormatDirectionOption &format );
//! QgsBearingNumericFormat cannot be copied
QgsBearingNumericFormat( const QgsBearingNumericFormat & ) = delete;
//! QgsBearingNumericFormat cannot be copied
QgsBearingNumericFormat &operator=( const QgsBearingNumericFormat & ) = delete;
private:
#ifdef SIP_RUN