Verified Commit 01647658 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Add trailing comma to enums

parent 6257c391
......@@ -52,7 +52,7 @@ class KDECORATIONS2_EXPORT DecorationButtonGroup : public QObject
public:
enum class Position {
Left,
Right
Right,
};
explicit DecorationButtonGroup(Position type, Decoration *parent, std::function<DecorationButton*(DecorationButtonType, Decoration*, QObject*)> buttonCreator);
explicit DecorationButtonGroup(Decoration *parent);
......
......@@ -70,7 +70,7 @@ enum class DecorationButtonType
/**
* The Custom type allows a Decoration to provide custom DecorationButtons.
**/
Custom
Custom,
};
......@@ -118,7 +118,7 @@ enum class BorderSize {
/**
* Increased border sizes, considered a factor of 5.0.
**/
Oversized
Oversized,
};
/**
......@@ -138,7 +138,7 @@ enum class ColorGroup {
* Warning color, can only be used with ColorRole::Foreground. If used with other roles,
* a invalid QColor is returned. It can be used for close buttons and is typically red.
**/
Warning
Warning,
};
/**
......@@ -157,7 +157,7 @@ enum class ColorRole {
/**
* The decoration's title bar forground color
**/
Foreground
Foreground,
};
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment