diff --git a/scriptengines/javascript/plasmoid/appletinterface.h b/scriptengines/javascript/plasmoid/appletinterface.h index aee42f99d..66db892a2 100644 --- a/scriptengines/javascript/plasmoid/appletinterface.h +++ b/scriptengines/javascript/plasmoid/appletinterface.h @@ -130,6 +130,14 @@ enum AspectRatioMode { FixedSize = 4 /** The applet cannot be resized */ }; +enum ItemStatus { + UnknownStatus = 0, /**< The status is unknown **/ + PassiveStatus = 1, /**< The Item is passive **/ + ActiveStatus = 2, /**< The Item is active **/ + NeedsAttentionStatus = 3, /**< The Item needs attention **/ + AcceptingInputStatus = 4 /**< The Item is accepting input **/ +}; + //From Qt namespace enum QtModifiers { QtNoModifier = Qt::NoModifier, @@ -223,14 +231,6 @@ enum IntervalAlignment { AlignToHour }; -enum ItemStatus { - UnknownStatus = 0, /**< The status is unknown **/ - PassiveStatus = 1, /**< The Item is passive **/ - ActiveStatus = 2, /**< The Item is active **/ - NeedsAttentionStatus = 3, /**< The Item needs attention **/ - AcceptingInputStatus = 4 /**< The Item is accepting input **/ -}; - //------------------------------------------------------------------- Q_INVOKABLE void gc();