• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

kjsembed

  • KJSEmbed
  • ObjectBinding
Public Types | Public Member Functions | Static Public Attributes | List of all members
KJSEmbed::ObjectBinding Class Reference

#include <object_binding.h>

Inheritance diagram for KJSEmbed::ObjectBinding:
Inheritance graph
[legend]

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

enum KJSEmbed::ObjectBinding::Ownership
Enumerator
CPPOwned 
QObjOwned 
JSOwned 

Definition at line 91 of file object_binding.h.

Constructor & Destructor Documentation

template<typename T >
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

Definition at line 55 of file object_binding.cpp.

template<typename T >
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.

template<typename T >
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

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:
  • object_binding.h
  • object_binding.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:47:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kjsembed

Skip menu "kjsembed"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal