From dda89cd693b88b432779837edd7fc87912969ac7 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 12 Feb 2010 19:19:54 +0000 Subject: [PATCH] offer as properties svn path=/trunk/KDE/kdebase/runtime/; revision=1089246 --- scriptengines/javascript/simplebindings/appletinterface.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scriptengines/javascript/simplebindings/appletinterface.h b/scriptengines/javascript/simplebindings/appletinterface.h index ba0223414..e4ca0d6f6 100644 --- a/scriptengines/javascript/simplebindings/appletinterface.h +++ b/scriptengines/javascript/simplebindings/appletinterface.h @@ -70,6 +70,8 @@ class AppletInterface : public QObject Q_PROPERTY(bool immutable READ immutable) Q_PROPERTY(bool userConfiguring READ userConfiguring) // @since 4.5 Q_PROPERTY(int apiVersion READ apiVersion) + Q_PROPERTY(QRectF rect READ rect) + Q_PROPERTY(QSizeF size READ size) Q_PROPERTY(QObject *sender READ sender) public: