kjsembed
Public Member Functions |
Static Public Member Functions |
Protected Attributes |
List of all members
KJSEmbed::StaticBinding Class Reference
#include <static_binding.h>
Inherits InternalFunctionImp.
Public Member Functions | |
StaticBinding (KJS::ExecState *exec, const Method *method) | |
KJS::JSValue * | callAsFunction (KJS::ExecState *exec, KJS::JSObject *self, const KJS::List &args) |
bool | implementsConstruct () const |
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.
|
inline |
Definition at line 50 of file static_binding.h.
|
static |
Publishes an array of Methods to an object.
You should only ever need this method to add methods to a binding.
- Parameters
-
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
|
protected |
Definition at line 61 of file static_binding.h.
The documentation for this class was generated from the following files:
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
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.