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

kjsembed

  • KJSEmbed
  • StaticBinding
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.

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.

Parameters
objectthe object to add the methods to
methodsan 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
  • qpainter_binding.cpp
  • static_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