KJS-API
kjsobject.h
Go to the documentation of this file.
KJSArray(KJSContext *ctx, int len=0)
Constructs an array object with the specified length.
Definition kjsobject.cpp:105
KJSDate(KJSContext *ctx, const QDateTime &dt)
Constructs a date object from the specified date and time.
Definition kjsobject.cpp:124
void setProperty(KJSContext *ctx, const QString &name, const KJSObject &value)
Sets the specified property on this object.
Definition kjsobject.cpp:206
bool toBoolean(KJSContext *ctx)
Returns this value converted to a boolean.
Definition kjsobject.cpp:160
KJSObject property(KJSContext *ctx, const QString &name)
Reads the specified property from this object.
Definition kjsobject.cpp:188
int toInt32(KJSContext *ctx)
Returns this value converted to a 32-bit integer number.
Definition kjsobject.cpp:174
KJSObject & operator=(const KJSObject &o)
Assigns another JS object references to this one.
Definition kjsobject.cpp:48
bool isObject() const
Returns whether this object is a full blown object.
Definition kjsobject.cpp:155
QString toString(KJSContext *ctx)
Returns this value converted to a string.
Definition kjsobject.cpp:181
double toNumber(KJSContext *ctx)
Returns this value converted to a number.
Definition kjsobject.cpp:167
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.