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

KJS-API

KJSContext Class Reference

A class representing a JavaScript execution context. More...

#include <kjscontext.h>

List of all members.


Public Member Functions

bool hasException () const
KJSInterpreter interpreter ()
KJSObject throwException (const QString &message) const

Detailed Description

A class representing a JavaScript execution context.

Execution context

Definition at line 39 of file kjscontext.h.


Member Function Documentation

bool KJSContext::hasException (  )  const

Returns true if this context has an unhandled exception.

Definition at line 36 of file kjscontext.cpp.

KJSInterpreter KJSContext::interpreter (  ) 

Returns the currently executing interpreter.

Definition at line 52 of file kjscontext.cpp.

KJSObject KJSContext::throwException ( const QString &  message  )  const

Throws a general exception with the specified error message.

Definition at line 41 of file kjscontext.cpp.


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

KJS-API

Skip menu "KJS-API"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

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