From kde-commits Tue Aug 15 15:44:47 2006 From: Ian Reinhart Geiser Date: Tue, 15 Aug 2006 15:44:47 +0000 To: kde-commits Subject: KDE/kdelibs/kjs Message-Id: <1155656687.192166.11687.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115565669620679 SVN commit 573287 by geiseri: I am not sure why put is virtual and get is not. We need get to be virtual so that we can reimplement it in kjsembed. If this is not a cool thing to do then please help me work with properties better in our QObjectBindings. M +2 -2 object.h --- trunk/KDE/kdelibs/kjs/object.h #573286:573287 @@ -227,8 +227,8 @@ * * @return The specified property, or Undefined */ - JSValue *get(ExecState *exec, const Identifier &propertyName) const; - JSValue *get(ExecState *exec, unsigned propertyName) const; + virtual JSValue *get(ExecState *exec, const Identifier &propertyName) const; + virtual JSValue *get(ExecState *exec, unsigned propertyName) const; bool getPropertySlot(ExecState *, const Identifier&, PropertySlot&); bool getPropertySlot(ExecState *, unsigned, PropertySlot&);