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

kjsembed

KJSEmbed::StaticBinding

KJSEmbed::StaticBinding Class Reference

A binding method that is used in VariantBinding and ObjectBinding. More...

#include <static_binding.h>

Inheritance diagram for KJSEmbed::StaticBinding:

Inheritance graph
[legend]

List of all members.


Public Member Functions

KJS::JSValue * callAsFunction (KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args)
bool implementsConstruct () const
 StaticBinding (KJS::ExecState *exec, const Method *method)

Static Public Member Functions

static void publish (KJS::ExecState *exec, KJS::JSObject *object, const Method *methods)

Protected Attributes

const Method * m_method

Detailed Description

A binding method that is used in VariantBinding and ObjectBinding.

Definition at line 39 of file static_binding.h.


Constructor & Destructor Documentation

StaticBinding::StaticBinding ( KJS::ExecState *  exec,
const Method *  method 
)

Create a new method.

Definition at line 33 of file static_binding.cpp.


Member Function Documentation

KJS::JSValue * StaticBinding::callAsFunction ( KJS::ExecState *  exec,
KJS::JSObject *  self,
const KJS::List &  args 
)

Executes the callback for this method.

Definition at line 41 of file static_binding.cpp.

bool KJSEmbed::StaticBinding::implementsConstruct (  )  const [inline]

Definition at line 50 of file static_binding.h.

void StaticBinding::publish ( KJS::ExecState *  exec,
KJS::JSObject *  object,
const Method *  methods 
) [static]

Publishes an array of Methods to an object.

You should only ever need this method to add methods to a binding.

  • object - the object to add the methods to
  • methods - an array of Method objects.

Definition at line 60 of file static_binding.cpp.


Member Data Documentation

const Method* KJSEmbed::StaticBinding::m_method [protected]

Definition at line 61 of file static_binding.h.


The documentation for this class was generated from the following files:
  • static_binding.h
  • static_binding.cpp

kjsembed

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal