summaryrefslogtreecommitdiffstats
path: root/examples/declarative/tutorials/samegame/samegame2/samegame.js
Commit message (Collapse)AuthorAgeFilesLines
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-2/+2
| | | | QDeclarativeComponent)
* Make component.createObject require a parent argumentAlan Alpert2010-05-051-2/+1
| | | | | | | | | For graphical objects (the common case) a common mistake is to not parent a dynamically created item. Since you almost always want to add a parent, and it's hard for a beginner to diagnose this problem, a parent is now a required argument and dealt with by the createObject function. Task-number: QTBUG-10110
* Remove Component's isReady, isLoading, isError and isNull properties.Bea Lam2010-04-291-4/+4
| | | | | | | The Component status enum covers all of these properties already and removing these also makes the API consistent with Image and Loader. Note this change only affects the QML Component API; the methods are still available for QDeclarativeComponent.
* Replace usage of print() with console.log().Michael Brasser2010-04-231-4/+4
|
* Make the dynamic creation functions on the Qt objectAlan Alpert2010-04-211-1/+1
| | | | | | | | | Also updated examples to still work, and the dynamic example now uses exceptions a little, to demonstrate that it can be done. Exceptions are also now filled out with the QML error data. Task-number: QT-2801 Reviewed-by: Aaron Kennedy
* Example code style improvementsBea Lam2010-04-091-21/+21
|
* More tutorial improvmentsBea Lam2010-04-091-18/+15
|
* Improve example code - rename variables, remove redundant ids.Bea Lam2010-04-081-16/+16
|
* Doc improvements, fixesBea Lam2010-04-011-0/+6
|
* fix javascript errors in samegame tutorialsYann Bodson2009-11-051-3/+3
|
* Switch Same Game tutorial to using snippets properlyAlan Alpert2009-10-071-0/+2
|
* Add SameGame based advanced tutorialAlan Alpert2009-10-071-0/+59
Could use some cleanup, as I didn't manage to get code snippets working correctly. Also might benefit from being re-written by a good tutor.