title: QML Keys.onEnterPressed issue
body: <p>I have a QtQuick project for Desktop. It is very simple:</p>
  
  <pre><code>// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
  import QtQuick 1.1
  
  Rectangle {
      width: 360
      height: 360
      Grid
      {
          id: xGrid
          width: parent.width
          height: parent.height
          columns: 2
          spacing: 1
  
          Rectangle
          {
              height: parent.height
              width: 10
              color: "#ff0000"
              Text {
                  id: xText
                  text: qsTr("t\na\ns")
              }
          }
          TextEdit
          {
              id: xTextEdit
              height: parent.height
              width: 350
              Keys.onEnterPressed: {
                  console.log(event.key)
                  xText.text = (qsTr("A"))
              }
          }
      }
  }
  </code></pre>
  
  <p>My code does not run like I want.  The <code>Keys.onEnterPressed</code> seem never be captured, so I try <code>Keys.onPressed</code> it work but not sure why when I press <kbd>Enter</kbd>, the <code>even.key</code> returns 16777220.  </p>
  
  <p>Any one get this issue? How can I solve it?<br>
  Thanks for your answer!</p>