Skip to content
Permalink
Browse files

[processing] Add flag for algorithms with known issues

(cherry picked from commit c0640c6)
  • Loading branch information
nyalldawson committed Mar 7, 2019
1 parent aff4f23 commit 514a001d94a4e5db3c137143d1c011a8ba5efa0e
@@ -45,6 +45,7 @@ Abstract base class for processing algorithms.
FlagNoThreading,
FlagDisplayNameIsLiteral,
FlagSupportsInPlaceEdits,
FlagKnownIssues,
FlagDeprecated,
};
typedef QFlags<QgsProcessingAlgorithm::Flag> Flags;
@@ -75,6 +75,7 @@ class CORE_EXPORT QgsProcessingAlgorithm
FlagNoThreading = 1 << 6, //!< Algorithm is not thread safe and cannot be run in a background thread, e.g. for algorithms which manipulate the current project, layer selections, or with external dependencies which are not thread-safe.
FlagDisplayNameIsLiteral = 1 << 7, //!< Algorithm's display name is a static literal string, and should not be translated or automatically formatted. For use with algorithms named after commands, e.g. GRASS 'v.in.ogr'.
FlagSupportsInPlaceEdits = 1 << 8, //!< Algorithm supports in-place editing
FlagKnownIssues = 1 << 9, //!< Algorithm has known issues
FlagDeprecated = FlagHideFromToolbox | FlagHideFromModeler, //!< Algorithm is deprecated
};
Q_DECLARE_FLAGS( Flags, Flag )

0 comments on commit 514a001

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