[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kjs
From:       Ian Reinhart Geiser <geiseri () kde ! org>
Date:       2006-08-15 15:44:47
Message-ID: 1155656687.192166.11687.nullmailer () svn ! kde ! org
[Download RAW message or body]

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&);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic