From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjsembed/docs/types.html | 124 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100644 kjsembed/docs/types.html (limited to 'kjsembed/docs/types.html') diff --git a/kjsembed/docs/types.html b/kjsembed/docs/types.html new file mode 100644 index 00000000..1b3f2120 --- /dev/null +++ b/kjsembed/docs/types.html @@ -0,0 +1,124 @@ + + + +KJSEmbed Types + + +

KJSEmbed Types

+
+

Introduction

+ +KJSEmbed adds a number of custom types to those defined by ECMA in +addition to the objects themselves. These types are used to pass +complex datatypes between scripts and the C++ code that is hosting the +script. This document describes the representations used to pass +information in each direction. + +

+ +It should be noted that currently only a single representation is +available to scripts accessing native types. Scripts should not rely +on this behaviour as the restriction may be removed in a future +release of KJSEmbed so this, though the current script API will +continue to be supported. + +

Fundamental Types

+ +

Numbers

+ + +

Strings

+ + +

Qt Object Types

+ +

QColor

+Represents a color, possibly including an alpha channel. + + +

QPoint

+Represents a point. + + +

QSize

+Represents a size. + + +

QRect

+Represents a rectangle. + + +

QDate

+Represents a date. + + +

QTime

+Represents a time. + + +

QDateTime

+Represents a date/time pair. + + +

QKeySequence

+Represents a sequence of keys, eg. it is used for accelerators. + + +

QFont

+Represents a font. + + +

KDE Object Types

+ +

KURL

+Represents a URL. + + +
+ + -- cgit v1.2.3