source: trunk/doc/src/snippets/code/doc_src_qtscriptextensions.qdoc@ 5

Last change on this file since 5 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 191 bytes
Line 
1//! [0]
2print("importing " + __extension__);
3__setupPackage__("cool.stuff");
4
5cool.stuff.add = function(a, b) { return a + b; }
6cool.stuff.subtract = function(a, b) { return a - b; }
7//! [0]
Note: See TracBrowser for help on using the repository browser.