Skip to content

Commit 66a3b09

Browse files
committedMay 3, 2020
Maybe even LESS enum classes will help?
1 parent 4369ffb commit 66a3b09

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed
 

‎python/core/auto_additions/qgslabeling.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎python/core/auto_generated/labeling/qgslabeling.sip.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Contains constants and enums relating to labeling.
2222
%End
2323
public:
2424

25-
enum class LinePlacementFlag
25+
enum LinePlacementFlag
2626
{
2727
OnLine,
2828
AboveLine,

‎src/core/labeling/qgslabeling.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CORE_EXPORT QgsLabeling
3535
/**
3636
* Line placement flags, which control how candidates are generated for a linear feature.
3737
*/
38-
enum class LinePlacementFlag : int
38+
enum LinePlacementFlag
3939
{
4040
OnLine = 1, //!< Labels can be placed directly over a line feature.
4141
AboveLine = 2, //!< Labels can be placed above a line feature. Unless MapOrientation is also specified this mode respects the direction of the line feature, so a line from right to left labels will have labels placed placed below the line feature.

0 commit comments

Comments
 (0)
Please sign in to comment.