|Home | Tutorial | Classes | Functions | Qt Scripter | Language | Qt API | QSA Articles Qt Script for Applications

[Home] [Next: Qt Script Language Concepts]

Introduction

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

Qt Script provides the language features of ECMAScript, for example, while loops, class and function definitions, etc. Qt Script 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 Library Reference describes the comprehensive library functionality.

Qt Script 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 Qt Script. 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 Qt Script, QSA Workbench and some of the widget subclasses and other classes available to Qt Script for Applications developers.

See also the Library Reference, and the Qt Whitepaper.

[Home] [Next: Qt Script Language Concepts]


Copyright © 2001-2003 TrolltechTrademarks
QSA version 1.0.0-beta5