Skip to content
Permalink
Browse files

Define tr function

  • Loading branch information
m-kuhn committed Aug 18, 2018
1 parent 8b85a18 commit 9c0e74226ddc6158ee2995fc3836d358a4c9de30
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/analysis/vector/geometry_checker/qgsgeometrycheck.h
@@ -43,6 +43,8 @@ struct ANALYSIS_EXPORT QgsGeometryCheckerContext

class ANALYSIS_EXPORT QgsGeometryCheck
{
Q_DECLARE_TR_FUNCTIONS()

public:
enum ChangeWhat
{
@@ -90,7 +92,7 @@ class ANALYSIS_EXPORT QgsGeometryCheck
, mCompatibleGeometryTypes( compatibleGeometryTypes )
, mContext( context )
{}
virtual ~QgsGeometryCheck();
virtual ~QgsGeometryCheck() = default;
virtual void collectErrors( QList<QgsGeometryCheckError *> &errors, QStringList &messages, QAtomicInt *progressCounter = nullptr, const QMap<QString, QgsFeatureIds> &ids = QMap<QString, QgsFeatureIds>() ) const = 0;
virtual void fixError( QgsGeometryCheckError *error, int method, const QMap<QString, int> &mergeAttributeIndices, Changes &changes ) const = 0;
virtual QStringList resolutionMethods() const = 0;

0 comments on commit 9c0e742

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