summaryrefslogtreecommitdiffstats
path: root/demos/declarative/snake/content
Commit message (Collapse)AuthorAgeFilesLines
* Update licenseheader text in source files for qt4.8Jyri Tahtela2011-05-135-86/+86
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2011-01-175-5/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/webkit/imageanalyzer/imageanalyzer.h examples/webkit/imageanalyzer/mainwindow.h mkspecs/unsupported/qws/linux-x86-openkode-g++/qplatformdefs.h src/corelib/io/qfsfileengine_iterator_unix.cpp src/corelib/io/qfsfileengine_iterator_win.cpp src/corelib/kernel/qcoreapplication.cpp src/network/access/qnetworkaccessdatabackend.cpp src/plugins/bearer/connman/qconnmanservice_linux.cpp src/plugins/platforms/openvglite/qwindowsurface_vglite.h src/s60installs/bwins/QtCoreu.def src/s60installs/eabi/QtCoreu.def src/s60installs/s60installs.pro tools/assistant/tools/assistant/helpviewer_qwv.h tools/qdoc3/test/qt-html-templates.qdocconf
| * Update copyright year to 2011.Jason McDonald2011-01-105-5/+5
| | | | | | | | Reviewed-by: Trust Me
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2010-10-252-2/+2
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: demos/declarative/snake/snake.qml qmake/generators/symbian/symbiancommon.cpp src/network/access/qnetworkaccessmanager.cpp src/s60installs/s60installs.pro tests/auto/qitemselectionmodel/tst_qitemselectionmodel.cpp tests/auto/qnetworkreply/tst_qnetworkreply.cpp
| * Snake demo now pauses when the window loses focus.Alan Alpert2010-10-152-2/+2
| | | | | | | | Task-number: QTBUG-11592
* | Merge remote branch 'origin/4.7' into master-from-4.7Rohan McGovern2010-10-045-5/+5
|\ \ | |/ | | | | | | | | | | | | | | | | | | Conflicts: doc/src/snippets/code/doc_src_qmake-manual.qdoc src/corelib/arch/symbian/arch.pri src/declarative/graphicsitems/qdeclarativeflickable.cpp src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp src/opengl/gl2paintengineex/qtextureglyphcache_gl.cpp src/opengl/gl2paintengineex/qtextureglyphcache_gl_p.h tests/auto/qfontmetrics/tst_qfontmetrics.cpp
| * Replace all occurances of "Qt 4.7" with "QtQuick 1.0"Aaron Kennedy2010-09-295-5/+5
| | | | | | | | | | Task-number: QTBUG-13799 Reviewed-by: Martin Jones
* | Merge remote branch 'origin/4.7' into qt-master-from-4.7Olivier Goffart2010-09-102-2/+12
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/syncqt demos/declarative/snake/content/snake.js demos/declarative/snake/snake.qml doc/src/development/qmake-manual.qdoc src/corelib/plugin/plugin.pri src/gui/kernel/qapplication_win.cpp src/gui/kernel/qdesktopwidget_win.cpp src/gui/painting/qdrawhelper.cpp tests/auto/qdir/tst_qdir.cpp tools/qdoc3/test/assistant.qdocconf tools/qdoc3/test/designer.qdocconf tools/qdoc3/test/linguist.qdocconf
| * Snake: Don't use Behavior with states.Martin Jones2010-08-303-3/+13
| | | | | | | | | | | | | | Changing states mid-animation confuses states where property value is not specified explicitly for each state. Task-number: QT-3823
* | State handling cleanupmae2010-09-092-6/+17
|/ | | | | | The game could end up in funky states when restarting while the startup animation was running. Also some smaller fixes for rotation.
* Fix game could not be restartedmae2010-08-161-1/+4
| | | | Task-number: QT-3668
* Uncomment code accidentally removed with ↵Aaron Kennedy2010-07-291-2/+0
| | | | | | 1937adaab5861ced44813c6a4b0bff1c3750ecd3 QTBUG-3620
* Undefined is undefined, and now qml warns about itmae2010-06-291-3/+3
|
* Move knowledge of QGraphicsObject out of qml engineAaron Kennedy2010-06-161-0/+2
|
* Fix snake demomae2010-06-082-1/+2
| | | | | | | | | Code degeneration lead to three bugs: 1. progress bar worked only the first time 2. restart was broken 3. highscore model was not persistent Reviewed-by: Trust me
* Add license headers for .qml files.Jason McDonald2010-05-215-0/+205
| | | | | | | Examples get the BSD license, while all other .qml files get the LGPL/tech-preview license. Reviewed-by: Trust Me
* Rename Component::errorsString() -> errorString() (and also forBea Lam2010-05-201-2/+2
| | | | QDeclarativeComponent)
* Make component.createObject require a parent argumentAlan Alpert2010-05-051-4/+2
| | | | | | | | | 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-2/+2
| | | | | | | | | 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
* Replace "import Qt 4.6" with "import Qt 4.7"Michael Brasser2010-04-085-5/+5
|
* Deprecate inline Script {} blocksAaron Kennedy2010-03-221-14/+12
| | | | | | | | Inline blocks/includes have been replaced with an import syntax: import "foo.js" as Foo this gives better separation between QML and code. Imported script blocks also have a mandatory qualifier, which leads to better optimization potential.
* Move particles in their own plugin (Qt.labs.particles)Yann Bodson2010-03-112-0/+2
| | | | Task-number: QT-2846
* Make "on" syntax mandatory for value sources and interceptorsAaron Kennedy2010-03-024-10/+10
| | | | | | | | | | | | | | | | | | | | | Where you would have written x: NumberAnimation {} y: Behavior {} you now must write NumberAnimation on x {} Behavior on y {} This change also makes the parser more strict with respect to multiple assignments to a single property - they're no longer allowed. For example this x: 10 x: 11 is now an error.
* Rename MouseRegion -> MouseAreaMartin Jones2010-02-221-1/+1
|
* Follow naming conventions (pass examples test)Warwick Allison2010-01-1122-0/+830