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

KJS-API

Public Member Functions
KJSContext Class Reference

#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
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 12:06:47 by doxygen 1.8.1.1 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KJS-API

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

kdelibs-4.10.4 API Reference

Skip menu "kdelibs-4.10.4 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
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