From a5636902e671356b2b5a3ff929528877a6da0382 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 25 Feb 2011 22:12:41 +0100 Subject: [PATCH] correctly register the type property --- scriptengines/javascript/plasmoid/appletinterface.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scriptengines/javascript/plasmoid/appletinterface.h b/scriptengines/javascript/plasmoid/appletinterface.h index de638f7f7..da5b8b261 100644 --- a/scriptengines/javascript/plasmoid/appletinterface.h +++ b/scriptengines/javascript/plasmoid/appletinterface.h @@ -358,7 +358,8 @@ class ContainmentInterface : public APPLETSUPERCLASS Q_OBJECT Q_PROPERTY(QScriptValue applets READ applets) Q_PROPERTY(bool drawWallpaper READ drawWallpaper WRITE setDrawWallpaper) - Q_ENUMS(ContainmentType) + Q_PROPERTY(Type containmentType READ containmentType WRITE setContainmentType) + Q_ENUMS(Type) public: enum Type {