Merge remote-tracking branch 'origin/release' into stable
authorFrederik Gladhorn <frederik.gladhorn@digia.com>
Wed, 3 Apr 2013 14:16:08 +0000 (16:16 +0200)
committerFrederik Gladhorn <frederik.gladhorn@digia.com>
Wed, 3 Apr 2013 14:16:08 +0000 (16:16 +0200)
Conflicts:
examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc
examples/quick/accessibility/doc/src/accessibility.qdoc
examples/quick/animation/doc/src/animation.qdoc
examples/quick/canvas/doc/src/canvas.qdoc
examples/quick/draganddrop/doc/src/draganddrop.qdoc
examples/quick/imageelements/doc/src/imageelements.qdoc
examples/quick/keyinteraction/doc/src/keyinteraction.qdoc
examples/quick/localstorage/doc/src/localstorage.qdoc
examples/quick/mousearea/doc/src/mousearea.qdoc
examples/quick/particles/affectors/doc/src/affectors.qdoc
examples/quick/particles/customparticle/doc/src/customparticle.qdoc
examples/quick/particles/emitters/doc/src/emitters.qdoc
examples/quick/particles/imageparticle/doc/src/imageparticle.qdoc
examples/quick/particles/system/doc/src/system.qdoc
examples/quick/positioners/doc/src/positioners.qdoc
examples/quick/righttoleft/doc/src/righttoleft.qdoc
examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc
examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc
examples/quick/scenegraph/simplematerial/doc/src/simplematerial.qdoc
examples/quick/threading/doc/src/threading.qdoc
examples/quick/touchinteraction/doc/src/touchinteraction.qdoc
examples/quick/views/doc/src/views.qdoc

Change-Id: Idf7bb76c82acacf86b19a9f4633c3cbf4ae1a9a0

32 files changed:
1  2 
examples/qml/xmlhttprequest/doc/src/xmlhttprequest.qdoc
examples/quick/accessibility/doc/src/accessibility.qdoc
examples/quick/animation/doc/src/animation.qdoc
examples/quick/canvas/doc/src/canvas.qdoc
examples/quick/doc/src/qml-extending.qdoc
examples/quick/draganddrop/doc/src/draganddrop.qdoc
examples/quick/imageelements/doc/src/imageelements.qdoc
examples/quick/keyinteraction/doc/src/keyinteraction.qdoc
examples/quick/localstorage/doc/src/localstorage.qdoc
examples/quick/mousearea/doc/src/mousearea.qdoc
examples/quick/painteditem/textballoons/doc/src/textballoons.qdoc
examples/quick/particles/affectors/doc/src/affectors.qdoc
examples/quick/particles/customparticle/doc/src/customparticle.qdoc
examples/quick/particles/emitters/doc/src/emitters.qdoc
examples/quick/particles/imageparticle/doc/src/imageparticle.qdoc
examples/quick/particles/system/doc/src/system.qdoc
examples/quick/positioners/doc/src/positioners.qdoc
examples/quick/righttoleft/doc/src/righttoleft.qdoc
examples/quick/scenegraph/customgeometry/doc/src/customgeometry.qdoc
examples/quick/scenegraph/openglunderqml/doc/src/openglunderqml.qdoc
examples/quick/scenegraph/simplematerial/doc/src/simplematerial.qdoc
examples/quick/shadereffects/doc/src/shadereffects.qdoc
examples/quick/text/doc/src/text.qdoc
examples/quick/threading/doc/src/threading.qdoc
examples/quick/touchinteraction/doc/src/touchinteraction.qdoc
examples/quick/views/doc/src/views.qdoc
src/qml/doc/qtqml.qdocconf
src/qml/doc/src/cppintegration/extending-tutorial.qdoc
src/quick/doc/qtquick.qdocconf
src/quick/doc/src/advtutorial.qdoc
src/quick/doc/src/dynamicview-tutorial.qdoc
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp

@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - XMLHttpRequst
 +    \title Qt Quick Examples - XMLHttpRequest
-     \example qml/xmlhttprequest
+     \example xmlhttprequest
      \brief This is a collection of XMLHttpRequest examples
      \image qml-xmlhttprequest-example.png
  
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Accessibility
 +    \title Qt Quick Examples - Accessibility
-     \example quick/accessibility
+     \example accessibility
      \brief This example has accessible buttons.
      \ingroup qtquickexamples
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick Examples - Animation
 +    \title Qt Quick Examples - Animation
-     \example quick/animation
+     \example animation
      \brief This is a collection of QML Animation examples.
      \image qml-animations-example.png
      \ingroup qtquickexamples
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick Examples - Canvas
 +    \title Qt Quick Examples - Canvas
-     \example quick/canvas
+     \example canvas
      \brief This is a collection of QML Canvas examples.
      \image qml-canvas-example.png
      \ingroup qtquickexamples
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Drag and Drop
 +    \title Qt Quick Examples - Drag and Drop
-     \example quick/draganddrop
+     \example draganddrop
      \brief This is a collection of QML drag and drop examples
      \image qml-draganddrop-example.png
      \ingroup qtquickexamples
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  /*!
      \title QML Examples - Image Elements
-     \example quick/imageelements
+     \example imageelements
 -    \brief This is a collection of QML examples relating to image elements.
 +    \brief This is a collection of QML examples relating to image types.
      \image qml-imageelements-example.png
      \ingroup qtquickexamples
  
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Key Interaction
 +    \title Qt Quick Examples - Key Interaction
-     \example quick/keyinteraction
+     \example keyinteraction
      \brief This is a collection of QML keyboard interaction examples.
      \image qml-keyinteraction-example.png
      \ingroup qtquickexamples
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Local Storage
 +    \title Qt Quick Examples - Local Storage
-     \example quick/localstorage
+     \example localstorage
      \brief A collection of QML local storage examples.
      \image qml-localstorage-example.png
  
@@@ -25,9 -25,9 +25,9 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - MouseArea
 +    \title Qt Quick Examples - MouseArea
-     \example quick/mousearea
+     \example mousearea
 -    \brief This is an example of the MouseArea element in QML
 +    \brief This is an example of the MouseArea type in QML
      \image qml-mousearea-example.png
      \ingroup qtquickexamples
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick.Particles Examples - Affectors
 +    \title Qt Quick Particles Examples - Affectors
-     \example quick/particles/affectors
+     \example particles/affectors
      \brief This is a collection of examples using Affectors in the QML particle system.
      \image qml-affectors-example.png
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick.Particles Examples - CustomParticle
 +    \title Qt Quick Particles Examples - CustomParticle
-     \example quick/particles/customparticle
+     \example particles/customparticle
      \brief This is a collection of examples using CustomParticle in the QML particle system.
      \image qml-customparticle-example.png
  
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick.Particles Examples - Emitters
 +    \title Qt Quick Particles Examples - Emitters
-     \example quick/particles/emitters
+     \example particles/emitters
      \brief This is a collection of examples using Emitters in the QML particle system.
      \image qml-emitters-example.png
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick.Particles Examples - Affectors
 +    \title Qt Quick Particles Examples - Affectors
-     \example quick/particles/imageparticle
+     \example particles/imageparticle
      \brief This is a collection of examples using Affectors in the QML particle system.
      \image qml-imageparticle-example.png
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick.Particles Examples - Affectors
 +    \title Qt Quick Particles Examples - Affectors
-     \example quick/particles/system
+     \example particles/system
      \brief This is a collection of examples using Affectors in the QML particle system.
      \image qml-system-example.png
  
@@@ -40,7 -40,7 +40,7 @@@
  
      Start and Stop simply sets the running and paused states of a ParticleSystem. While the system does not perform any simulation when stopped or paused, a restart restarts the simulation from the beginning, while unpausing resumes the simulation from where it was.
  
-     Timed group changes is an example that highlights the ParticleGroup type. While normally referring to groups with a string name is sufficent, additional effects can be
 -    Timed group changes is an example that highlights the ParticleGroup element. While normally referring to groups with a string name is sufficient, additional effects can be
++    Timed group changes is an example that highlights the ParticleGroup type. While normally referring to groups with a string name is sufficient, additional effects can be
      done by setting properties on groups.
      The first group has a variable duration on it, but always transitions to the second group.
      \snippet quick/particles/system/content/timedgroupchanges.qml 0
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Positioners
 +    \title Qt Quick Examples - Positioners
-     \example quick/positioners
+     \example positioners
      \brief This is a collection of QML Positioner examples.
      \image qml-positioners-example.png
      \ingroup qtquickexamples
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Right to Left
 +    \title Qt Quick Examples - Right to Left
-     \example quick/righttoleft
+     \example righttoleft
      \brief This is a collection of QML Right to Left examples.
      \image qml-righttoleft-example.png
      \ingroup qtquickexamples
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
-     \example quick/scenegraph/customgeometry
+     \example scenegraph/customgeometry
 -    \title Custom Geometry Example
 +    \title Scene Graph - Custom Geometry
      \ingroup qtquickexamples
      \brief Shows how to implement a custom geometry in the Qt Quick Scene Graph.
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
-     \example quick/scenegraph/openglunderqml
+     \example scenegraph/openglunderqml
 -    \title OpenGL Under QML
 +    \title Scene Graph - OpenGL Under QML
      \ingroup qtquickexamples
      \brief Shows how to render OpenGL under a Qt Quick scene.
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
-     \example quick/scenegraph/simplematerial
+     \example scenegraph/simplematerial
 -    \title Simple Material Example
 +    \title Scene Graph - Simple Material
      \ingroup qtquickexamples
      \brief Shows how to define a scene graph material to fill a shape.
  
Simple merge
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Threading
 +    \title Qt Quick Examples - Threading
-     \example quick/threading
+     \example threading
      \brief This is a collection of QML Multithreading examples.
      \image qml-threading-example.png
      \ingroup qtquickexamples
@@@ -25,8 -25,8 +25,8 @@@
  **
  ****************************************************************************/
  /*!
 -    \title QtQuick Examples - Touch Interaction
 +    \title Qt Quick Examples - Touch Interaction
-     \example quick/touchinteraction
+     \example touchinteraction
      \brief This is a collection of QML Touch Interaction examples.
      \image qml-touchinteraction-example.png
  
@@@ -26,8 -26,8 +26,8 @@@
  ****************************************************************************/
  
  /*!
 -    \title QtQuick Examples - Views
 +    \title Qt Quick Examples - Views
-     \example quick/views
+     \example views
      \brief This is a collection of QML model/view examples
      \image qml-modelviews-example.png
      \ingroup qtquickexamples
Simple merge
@@@ -64,15 -64,15 +64,15 @@@ and \l {qtqml-cppintegration-definetype
  /*!
  \title Chapter 1: Creating a New Type
  
- \example quick/tutorials/extending/chapter1-basics
+ \example tutorials/extending/chapter1-basics
  
  A common task when extending QML is to provide a new QML type that supports some
 - custom functionality beyond what is provided by the built-in \l {Qt Quick QML Types}{QtQuick types}.
 + custom functionality beyond what is provided by the built-in \l {Qt Quick QML Types}{Qt Quick types}.
  For example, this could be done to implement particular data models, or provide
 -elements with custom painting and drawing capabilities, or access system features
 +types with custom painting and drawing capabilities, or access system features
  like network programming that are not accessible through built-in QML features.
  
 -In this tutorial, we will show how to use the C++ classes in the Qt Declarative
 +In this tutorial, we will show how to use the C++ classes in the Qt Quick
  module to extend QML. The end result will be a simple Pie Chart display implemented by
  several custom QML types connected together through QML features like bindings and
  signals, and made available to the QML runtime through a plugin.
@@@ -207,11 -207,11 +207,11 @@@ Try out the example yourself with the u
  /*!
  \title Chapter 3: Adding Property Bindings
  
- \example quick/tutorials/extending/chapter3-bindings
+ \example tutorials/extending/chapter3-bindings
  
  Property binding is a powerful feature of QML that allows values of different
 -elements to be synchronized automatically. It uses signals to notify and update
 -other elements' values when property values are changed.
 +types to be synchronized automatically. It uses signals to notify and update
 +other types' values when property values are changed.
  
  Let's enable property bindings for the \c color property. That means
  if we have code like this:
Simple merge
Simple merge
@@@ -139,10 -139,10 +139,10 @@@ so that is above other items in the sta
  \previouspage QML Dynamic View Ordering Tutorial 2 - Dragging View Items
  \nextpage QML Dynamic View Ordering Tutorial 4 - Sorting Items
  
- \example quick/tutorials/dynamicview/dynamicview3
+ \example tutorials/dynamicview/dynamicview3
  
  The next step in our application to move items within the list as they're dragged so that we
 -can re-order the list.  To achieve this we introduce three new elements to our application;
 +can re-order the list.  To achieve this we introduce three new types to our application;
  VisualDataModel, \l Drag and DropArea.
  
  \snippet quick/tutorials/dynamicview/dynamicview3/dynamicview.qml 0
@@@ -1830,10 -1857,10 +1830,10 @@@ void tst_QQuickPathView::snapToItem(
  
      QSignalSpy snapModeSpy(pathview, SIGNAL(snapModeChanged()));
  
 -    flick(window, QPoint(200,10), QPoint(10,10), 180);
 +    flick(window.data(), QPoint(200,10), QPoint(10,10), 180);
  
      QVERIFY(pathview->isMoving());
-     QTRY_VERIFY(!pathview->isMoving());
+     QTRY_VERIFY_WITH_TIMEOUT(!pathview->isMoving(), 50000);
  
      QVERIFY(pathview->offset() == qFloor(pathview->offset()));