diff --git a/src/device.h b/src/device.h --- a/src/device.h +++ b/src/device.h @@ -120,14 +120,16 @@ NewActivation = 60, ParentChanged = 61, ParentManagedChanged = 62, Reserved = 65536 }; + Q_ENUM(StateChangeReason) enum MeteredStatus { UnknownStatus = 0, /**< The device metered status is unknown. */ Yes = 1, /**< The device is metered and the value was statically set. */ No = 2, /**< The device is not metered and the value was statically set. */ GuessYes = 3, /**< The device is metered and the value was guessed. */ GuessNo = 4 /**< The device is not metered and the value was guessed. */ }; + Q_ENUM(MeteredStatus) /** * Possible device capabilities @@ -584,4 +586,3 @@ } #endif -