#include <jsopaqueproxy.h>
Inheritance diagram for KJSEmbed::JSOpaqueProxy:
Public Member Functions | |
JSOpaqueProxy () | |
JSOpaqueProxy (void *ptr, const char *ptrtype) | |
JSOpaqueProxy (QTextStream *ts) | |
JSOpaqueProxy (const QEvent *ev) | |
virtual | ~JSOpaqueProxy () |
QString | typeName () const |
void | setValue (void *ptr, const char *ptrtype) |
void | setValue (QTextStream *ts) |
void | setValue (const QEvent *ev) |
void * | toVoidStar () |
bool | inherits (const char *clazz) |
QTextStream * | toTextStream () |
const QEvent * | toEvent () |
virtual void | addBindings (KJS::ExecState *state, KJS::Object &object) |
virtual KJS::UString | toString (KJS::ExecState *exec) const |
This class stores a pointer without interpreting its type, it also stores the name of the type allowing it to retain type-safety.
|
Creates an opaque proxy.
|
|
Creates an opaque proxy.
|
|
Creates an opaque proxy.
|
|
Creates an opaque proxy.
|
|
Cleans up.
|
|
Adds the bindings for the opaque proxy to the specified js object.
|
|
Returns true iff the content of this proxy inherits the specified base-class.
Reimplemented from KJSEmbed::JSProxy. |
|
Sets the value of the proxy to a QEvent.
|
|
Sets the value of the proxy to a QTextStream.
|
|
Sets the value of the proxy and its type.
|
|
|
|
Reimplemented to return the name and class of the target.
|
|
Returns the QTextStream stored in the proxy. If proxy does not contain a value of type QTextStream then 0 is returned. |
|
Returns the proxy value as a void pointer.
Reimplemented from KJSEmbed::JSProxy. |
|
Returns the type of the wrapped object.
|