title: What is the QQuickItem::mapToItem return type?
body: <p>The application below outputs coordinates mapped from one <code>QQuickItem</code> to another. According to the docs:</p>
  
  <blockquote>
    <p><code>object mapToItem(Item item, real x, real y)</code><br>
    Maps the point (x, y) or rect (x, y, width, height), which is in this item's coordinate  system, to item's coordinate system, and returns an object with x and y (and optionally  width and height) properties matching the mapped coordinate.</p>
  </blockquote>
  
  <p>I expect the output to be something like this:</p>
  
  <blockquote>
    <p>0 0<br>
    1 1<br>
    2 2 </p>
  </blockquote>
  
  <p>but I get:</p>
  
  <pre><code>QPointF(9, 6)   100  
  QPointF(9, 5)   100  
  QPointF(8, 5)   100  
  </code></pre>
  
  <p>Why is the type of the <code>mapped.x</code> a <code>QPointF</code>? I expected it to be a floating-point value. What is an actual <code>mapped</code> type?</p>
  
  <pre><code>import QtQuick 2.1
  import QtQuick.Controls 1.0
  import QtQuick.Window 2.0
  import QtQuick.Layouts 1.0
  
  ApplicationWindow {
      width: 640
      height: 480
  
      Rectangle {
          anchors.fill: parent
          id: r0
          color: "green"
          Rectangle {
              x: 50; y:100; width: 100; height: 100;
              id: r
              color: "yellow"
              MouseArea {
                  id: mousearea
                  anchors.fill: parent
                  hoverEnabled: true
                  onPositionChanged: {
                      var mouseP = Qt.point(mouse.x, mouse.y);
                      var mapped = r.mapToItem(r0, mouseP);
                      console.log(mapped.x, ' ', mapped.y);
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p><strong>UPDATE1:</strong> <a href="http://qt-project.org/doc/qt-5.0/qtquick/qquickitem.html" rel="nofollow">QQuickItem</a> has <code>mapToItem</code> with 2 args and <a href="http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-item.html" rel="nofollow">Item</a> has <code>mapToItem</code> with 3 args. Which one is called in the code above?</p>