kjsembed
KJSEmbed::ObjectBinding Class Reference
#include <object_binding.h>
Public Types | |
| enum | Ownership { CPPOwned, QObjOwned, JSOwned } |
Public Member Functions | |
| KJS::UString | className () const |
| template<typename T > | |
| T * | object () const |
| template<typename T > | |
| ObjectBinding (KJS::ExecState *exec, const char *typeName, T *ptr) | |
| 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 |
| virtual | ~ObjectBinding () |
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
Definition at line 91 of file object_binding.h.
Constructor & Destructor Documentation
| KJSEmbed::ObjectBinding::ObjectBinding | ( | KJS::ExecState * | exec, | |
| const char * | typeName, | |||
| T * | ptr | |||
| ) | [inline] |
Definition at line 101 of file object_binding.h.
| ObjectBinding::~ObjectBinding | ( | ) | [virtual] |
Definition at line 35 of file object_binding.cpp.
Member Function Documentation
| KJS::UString ObjectBinding::className | ( | ) | const |
Reimplemented in KJSEmbed::QObjectBinding.
Definition at line 55 of file object_binding.cpp.
| T* KJSEmbed::ObjectBinding::object | ( | ) | const [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.
| void KJSEmbed::ObjectBinding::setObject | ( | T * | ptr | ) | [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 |
Reimplemented in KJSEmbed::QObjectBinding.
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.
| void* KJSEmbed::ObjectBinding::voidStar | ( | ) | const [inline] |
Definition at line 127 of file object_binding.h.
Member Data Documentation
const KJS::ClassInfo ObjectBinding::info = { "ObjectBinding", 0, 0, 0 } [static] |
Definition at line 92 of file object_binding.h.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference