summaryrefslogtreecommitdiffstats
path: root/doc/src/examples/qml-snake.qdoc
diff options
context:
space:
mode:
authorMatthew Vogt <matthew.vogt@nokia.com>2012-01-30 14:16:15 +1000
committerMatthew Vogt <matthew.vogt@nokia.com>2012-01-30 14:16:15 +1000
commit12a5ddf456ba8549645a8cb28a8b4ed6197a14da (patch)
tree63ee2c88af936e0609a3a194f5bcc304c4c0b707 /doc/src/examples/qml-snake.qdoc
Import relevant source from Qt 4.8
Diffstat (limited to 'doc/src/examples/qml-snake.qdoc')
-rw-r--r--doc/src/examples/qml-snake.qdoc37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/src/examples/qml-snake.qdoc b/doc/src/examples/qml-snake.qdoc
new file mode 100644
index 00000000..b312eb55
--- /dev/null
+++ b/doc/src/examples/qml-snake.qdoc
@@ -0,0 +1,37 @@
+/****************************************************************************
+**
+** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
+** All rights reserved.
+** Contact: Nokia Corporation (qt-info@nokia.com)
+**
+** This file is part of the documentation of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:FDL$
+** GNU Free Documentation License
+** Alternatively, this file may be used under the terms of the GNU Free
+** Documentation License version 1.3 as published by the Free Software
+** Foundation and appearing in the file included in the packaging of
+** this file.
+**
+** Other Usage
+** Alternatively, this file may be used in accordance with the terms
+** and conditions contained in a signed written agreement between you
+** and Nokia.
+**
+**
+**
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
+
+/*!
+ \title Snake
+ \example demos/declarative/snake
+ \depends helper/qmlapplicationviewer
+
+ \brief The Qt Quick Snake demo shows how to write a Snake game in QML, controlled by the
+ keyboard as well as the mouse.
+
+ \image qml-snake-demo.png
+*/