\chapter Introduction The language of \Q is \QS, an implementation of a subset of ECMAScript 4.0. ECMAScript is also called JavaScript or JScript by some vendors. \QS provides the language features of ECMAScript, for example, \l while loops, \l class and \l function definitions, etc. \QS also provides access to most of the functionality provided by the \QT C++ class library. \QT provides a rich set of cross-platform GUI widgets, OpenGL support, collection classes, database support, etc. The separate \link library.book Library Reference\endlink describes the comprehensive library functionality. \QS also supports Trolltech's innovative signals and slots mechanism. Signals and slots provide type-safe inter-object communication that supercedes the crash-prone callbacks and message maps approaches used by older tools. This language reference describes the language features provided by \QS. It is divided into the following chapters: \list \i \l{Qt Script Language Concepts} \i \l{Built-in Types and Objects} \i \l{Built-in Variables and Constants} \i \l{Built-in Functions and Operators} \i \l{Control Statements} \i \l{Built-in Exceptions} \endlist Readers are assumed to have a basic understanding of programming, and to have read the \link getting-started.book Getting Started Guide\endlink that introduces \QS, \QD and some of the widget subclasses and other classes available to \Q developers. See also the \link library.book Library Reference\endlink, and the \link http://www.trolltech.com/products/qt/whitepaper/whitepaper.html Qt Whitepaper\endlink.