Showing the changes to libraries/script-engine/src/ScriptValue.cpp (1 of 4 files). Show all
Unified · Split
| @@ -55,6 +55,7 @@ public: · 54 unmodified lines | |||
| 55 | const ScriptValue::PropertyFlags& flags = ScriptValue::KeepExistingFlags) override; | 55 | const ScriptValue::PropertyFlags& flags = ScriptValue::KeepExistingFlags) override; |
| 56 | virtual void setPrototype(const ScriptValue& prototype) override; | 56 | virtual void setPrototype(const ScriptValue& prototype) override; |
| 57 | virtual bool strictlyEquals(const ScriptValue& other) const override; | 57 | virtual bool strictlyEquals(const ScriptValue& other) const override; |
| 58 | virtual inline QList<QString> getPropertyNames() const; | ||
| 58 | 59 | ||
| 59 | virtual bool toBool() const override; | 60 | virtual bool toBool() const override; |
| 60 | virtual qint32 toInt32() const override; | 61 | virtual qint32 toInt32() const override; |
| @@ -209,6 +210,10 @@ bool ScriptValueProxyNull::strictlyEquals(const ScriptValue& other) const { · 148 unmodified lines | |||
| 209 | return !other.isValid(); | 210 | return !other.isValid(); |
| 210 | } | 211 | } |
| 211 | 212 | ||
| 213 | QList<QString> ScriptValueProxyNull::getPropertyNames() const { | ||
| 214 | return QList<QString>(); | ||
| 215 | } | ||
| 216 | |||
| 212 | bool ScriptValueProxyNull::toBool() const { | 217 | bool ScriptValueProxyNull::toBool() const { |
| 213 | return false; | 218 | return false; |
| 214 | } | 219 | } |