Skip to content

Commit

Permalink
enum types specified
Browse files Browse the repository at this point in the history
  • Loading branch information
uwerat committed Dec 9, 2024
1 parent 4e6ee36 commit d53579f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/QskNamespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ namespace Qsk
{
Q_NAMESPACE_EXPORT( QSK_EXPORT )

enum Policy
enum Policy : quint8
{
Maybe,
Always,
Never
};
Q_ENUM_NS( Policy )

enum Direction
enum Direction : quint8
{
LeftToRight,
RightToLeft,
Expand All @@ -30,7 +30,7 @@ namespace Qsk
};
Q_ENUM_NS( Direction )

enum TextStyle
enum TextStyle : quint8
{
Normal,
Outline,
Expand All @@ -39,7 +39,7 @@ namespace Qsk
};
Q_ENUM_NS( TextStyle )

enum Visibility
enum Visibility : quint8
{
Visible = 1 << 0,
Hidden = 1 << 1
Expand Down

0 comments on commit d53579f

Please sign in to comment.