[Home] [Next: Qt Script Language Concepts]

Introduction

The language of is , an implementation of a subset of ECMAScript 4.0. ECMAScript is also called JavaScript or JScript by some vendors.

provides the language features of ECMAScript, for example, while loops, class and function definitions, etc. also provides access to most of the functionality provided by the C++ class library. provides a rich set of cross-platform GUI widgets, OpenGL support, collection classes, database support, etc. The separate Library Reference describes the comprehensive library functionality.

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 . It is divided into the following chapters:

Readers are assumed to have a basic understanding of programming, and to have read the Getting Started Guide that introduces , and some of the widget subclasses and other classes available to developers.

See also the Library Reference, and the Qt Whitepaper.

[Home] [Next: Qt Script Language Concepts]