kjsembed
#include <object_binding.h>
Public Types | |
enum | Ownership { CPPOwned, QObjOwned, JSOwned } |
Public Member Functions | |
template<typename T > | |
ObjectBinding (KJS::ExecState *exec, const char *typeName, T *ptr) | |
virtual | ~ObjectBinding () |
KJS::UString | className () const |
template<typename T > | |
T * | object () const |
Ownership | ownership () const |
template<typename T > | |
void | setObject (T *ptr) |
void | setOwnership (Ownership owner) |
KJS::UString | toString (KJS::ExecState *exec) const |
KJS::JSType | type () const |
const char * | typeName () const |
void * | voidStar () const |
Public Member Functions inherited from KJSEmbed::ProxyBinding | |
ProxyBinding (KJS::ExecState *exec) | |
virtual | ~ProxyBinding () |
bool | implementsCall () const |
bool | implementsConstruct () const |
Static Public Attributes | |
static const KJS::ClassInfo | info = { "ObjectBinding", 0, 0, 0 } |
Detailed Description
Definition at line 88 of file object_binding.h.
Member Enumeration Documentation
Enumerator | |
---|---|
CPPOwned | |
QObjOwned | |
JSOwned |
Definition at line 91 of file object_binding.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 101 of file object_binding.h.
|
virtual |
Definition at line 35 of file object_binding.cpp.
Member Function Documentation
KJS::UString ObjectBinding::className | ( | ) | const |
Definition at line 55 of file object_binding.cpp.
|
inline |
- Returns
- the internal object as a pointer of type T
Definition at line 119 of file object_binding.h.
ObjectBinding::Ownership ObjectBinding::ownership | ( | ) | const |
Definition at line 65 of file object_binding.cpp.
|
inline |
Definition at line 133 of file object_binding.h.
void ObjectBinding::setOwnership | ( | ObjectBinding::Ownership | owner | ) |
Definition at line 70 of file object_binding.cpp.
KJS::UString ObjectBinding::toString | ( | KJS::ExecState * | exec | ) | const |
Definition at line 50 of file object_binding.cpp.
KJS::JSType ObjectBinding::type | ( | ) | const |
Definition at line 60 of file object_binding.cpp.
const char * ObjectBinding::typeName | ( | ) | const |
Definition at line 45 of file object_binding.cpp.
|
inline |
Definition at line 127 of file object_binding.h.
Member Data Documentation
|
static |
Definition at line 92 of file object_binding.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:22:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.