#include <jsopaqueproxy.h>
Inheritance diagram for KJSEmbed::JSOpaqueProxy:
Public Methods | |
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 () const |
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.
|
|
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.
|
|
Returns the type of the wrapped object.
|