SingleApplication: Use enum class for Mode
This commit is contained in:
parent
1043e24322
commit
749bae1f16
|
@ -61,7 +61,7 @@ class SingleApplication : public QApplication { // clazy:exclude=ctor-missing-p
|
||||||
* block will be user wide.
|
* block will be user wide.
|
||||||
* @enum
|
* @enum
|
||||||
*/
|
*/
|
||||||
enum Mode {
|
enum class Mode {
|
||||||
User = 1 << 0,
|
User = 1 << 0,
|
||||||
System = 1 << 1,
|
System = 1 << 1,
|
||||||
SecondaryNotification = 1 << 2,
|
SecondaryNotification = 1 << 2,
|
||||||
|
|
|
@ -61,7 +61,7 @@ class SingleCoreApplication : public QCoreApplication { // clazy:exclude=ctor-m
|
||||||
* block will be user wide.
|
* block will be user wide.
|
||||||
* @enum
|
* @enum
|
||||||
*/
|
*/
|
||||||
enum Mode {
|
enum class Mode {
|
||||||
User = 1 << 0,
|
User = 1 << 0,
|
||||||
System = 1 << 1,
|
System = 1 << 1,
|
||||||
SecondaryNotification = 1 << 2,
|
SecondaryNotification = 1 << 2,
|
||||||
|
|
Loading…
Reference in New Issue