KJS-API
KJSNumber Class Reference
#include <kjsobject.h>
Inheritance diagram for KJSNumber:
Public Member Functions | |
KJSNumber (double d) | |
Public Member Functions inherited from KJSObject | |
KJSObject () | |
KJSObject (const KJSObject &o) | |
~KJSObject () | |
bool | isBoolean () const |
bool | isNull () const |
bool | isNumber () const |
bool | isObject () const |
bool | isString () const |
bool | isUndefined () const |
KJSObject & | operator= (const KJSObject &o) |
KJSObject | property (KJSContext *ctx, const QString &name) |
void | setProperty (KJSContext *ctx, const QString &name, const KJSObject &value) |
void | setProperty (KJSContext *ctx, const QString &name, bool value) |
void | setProperty (KJSContext *ctx, const QString &name, double value) |
void | setProperty (KJSContext *ctx, const QString &name, int value) |
void | setProperty (KJSContext *ctx, const QString &name, const QString &value) |
void | setProperty (KJSContext *ctx, const QString &name, const char *value) |
bool | toBoolean (KJSContext *ctx) |
int | toInt32 (KJSContext *ctx) |
double | toNumber (KJSContext *ctx) |
QString | toString (KJSContext *ctx) |
Detailed Description
A class representing a JavaScript number value.
Number value
Definition at line 216 of file kjsobject.h.
Constructor & Destructor Documentation
KJSNumber::KJSNumber | ( | double | d | ) |
Constructs a number object.
Definition at line 78 of file kjsobject.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.