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

KJS-API

KJSResult Class Reference

A class representing the result of a script evaluation. More...

#include <kjsinterpreter.h>

List of all members.

Public Member Functions

QString errorMessage () const
bool isException () const
 KJSResult (const KJSResult &)
 KJSResult ()
KJSResult & operator= (const KJSResult &)
KJSObject value () const
 ~KJSResult ()

Detailed Description

A class representing the result of a script evaluation.

Definition at line 37 of file kjsinterpreter.h.


Constructor & Destructor Documentation

KJSResult::KJSResult (  ) 

Constructs a default result object.

Definition at line 46 of file kjsinterpreter.cpp.

KJSResult::KJSResult ( const KJSResult &  r  ) 

Constructs a copy of another result object.

Definition at line 51 of file kjsinterpreter.cpp.

KJSResult::~KJSResult (  ) 

Frees resources held by this result object.

Definition at line 68 of file kjsinterpreter.cpp.


Member Function Documentation

QString KJSResult::errorMessage (  )  const

Returns the error message if this is an exception result.

Definition at line 78 of file kjsinterpreter.cpp.

bool KJSResult::isException (  )  const

Returns true if the script evaluation has caused an exception.

Definition at line 73 of file kjsinterpreter.cpp.

KJSResult & KJSResult::operator= ( const KJSResult &  r  ) 

Assigns the properties of another result object to this one.

Definition at line 57 of file kjsinterpreter.cpp.

KJSObject KJSResult::value (  )  const

Definition at line 83 of file kjsinterpreter.cpp.


The documentation for this class was generated from the following files:
  • kjsinterpreter.h
  • kjsinterpreter.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
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
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