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

KJS-API

Public Member Functions | List of all members
KJSString Class Reference

#include <kjsobject.h>

Inheritance diagram for KJSString:
Inheritance graph
[legend]

Public Member Functions

 KJSString (const QString &s)
 
 KJSString (const char *s)
 
- Public Member Functions inherited from KJSObject
 KJSObject ()
 
 KJSObject (const KJSObject &o)
 
 ~KJSObject ()
 
bool isBoolean () const
 
bool isNull () const
 
bool isNumber () const
 
bool isObject () const
 
bool isString () const
 
bool isUndefined () const
 
KJSObject & operator= (const KJSObject &o)
 
KJSObject property (KJSContext *ctx, const QString &name)
 
void setProperty (KJSContext *ctx, const QString &name, const KJSObject &value)
 
void setProperty (KJSContext *ctx, const QString &name, bool value)
 
void setProperty (KJSContext *ctx, const QString &name, double value)
 
void setProperty (KJSContext *ctx, const QString &name, int value)
 
void setProperty (KJSContext *ctx, const QString &name, const QString &value)
 
void setProperty (KJSContext *ctx, const QString &name, const char *value)
 
bool toBoolean (KJSContext *ctx)
 
int toInt32 (KJSContext *ctx)
 
double toNumber (KJSContext *ctx)
 
QString toString (KJSContext *ctx)
 

Detailed Description

A class representing a JavaScript string value.

String value

Definition at line 230 of file kjsobject.h.

Constructor & Destructor Documentation

KJSString::KJSString ( const QString &  s)

Constructs a string object.

Definition at line 84 of file kjsobject.cpp.

KJSString::KJSString ( const char *  s)

Constructs a string object from an Latin1 encoded, null-terminated string.

Note the limited input character range which rules out a big part of Unicode.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 90 of file kjsobject.cpp.


The documentation for this class was generated from the following files:
  • kjsobject.h
  • kjsobject.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:58 by doxygen 1.8.7 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 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