qt:staging.git
7 years agoFixed a broken merge. air-team/v4.7.0-beta2 earth-team/v4.7.0-beta2 multimedia/v4.7.0-beta2 qml-team/v4.7.0-beta2
Denis Dzyubenko [Fri, 11 Jun 2010 11:26:05 +0000 (13:26 +0200)]
Fixed a broken merge.

Reviewed-by: trustme
(cherry picked from commit 24bcac9de46c89f4d8b533946e7b0feeacca1b0d)

7 years agoChanged the way we detect touch screen on Windows.
Denis Dzyubenko [Fri, 11 Jun 2010 10:36:34 +0000 (12:36 +0200)]
Changed the way we detect touch screen on Windows.

Instead of using the IInkTablets interface (which sometimes freezes in the
get_Count() call for 10 seconds), we just check if there is digitizer support.

Task-number: QTBUG-6007
Reviewed-by: Prasanth
(cherry picked from commit 7f338180e88b71e793069e2fbe9a70f3c434e126)

7 years agoFix s60main linking issue with gcce applications
Miikka Heikkinen [Tue, 29 Jun 2010 11:38:42 +0000 (14:38 +0300)]
Fix s60main linking issue with gcce applications

MMP_RULES_DONT_EXPORT_ALL_CLASS_IMPEDIMENTA must not be included in
s60main build, otherwise some symbols will not be relocatable when
linked against from gcce build.

Task-number: QTBUG-11804
Reviewed-by: Alessandro Portale
(cherry picked from commit ce57d92ef5723f54c1e3a1b50d66eb74273b995b)

7 years agodon't complain multiple times about same abuse of //% meta strings
Oswald Buddenhagen [Tue, 29 Jun 2010 14:36:04 +0000 (16:36 +0200)]
don't complain multiple times about same abuse of //% meta strings

Reviewed-by: Kent Hansen
Task-number: QTBUG-11818
(cherry picked from commit f08b60f4ca52d525c1dc9890cb0c6661ee34b069)

7 years agoFixed device context leak in QGLWidget on Windows.
Kim Motoyoshi Kalland [Fri, 18 Jun 2010 13:09:12 +0000 (15:09 +0200)]
Fixed device context leak in QGLWidget on Windows.

Commit 392123ef5432643d1047d1e1dd71512ec39d382d introduced the
leak.

Task-number: QTBUG-11432
Reviewed-by: Trond
(cherry picked from commit 38adb59a9e80a23d37ff0820ef62ebd45ab1e4ae)

7 years agoProvide Qml plugins with UID3s on Symbian
Alessandro Portale [Wed, 23 Jun 2010 12:41:26 +0000 (14:41 +0200)]
Provide Qml plugins with UID3s on Symbian

...otherwise we cannot Symbian sign them.
(cherry picked from commit 808c045dd351dab32b8add07d45fd77f5a061f61)

7 years agoFix "missing store_build" errors
Miikka Heikkinen [Wed, 23 Jun 2010 09:00:59 +0000 (12:00 +0300)]
Fix "missing store_build" errors

Create a dummy store_build target in projects that do not deploy
anything when building for symbian-abld.

Task-number: QTBUG-11656
Reviewed-by: Janne Koskinen
(cherry picked from commit 4f6a7f7e480dc0c7fada475c1ab04cc3d082e490)

7 years agoUpdated UIDs for spectrum demo
Gareth Stockwell [Wed, 23 Jun 2010 08:20:54 +0000 (09:20 +0100)]
Updated UIDs for spectrum demo

Resolving UID clash with other example apps

Reviewed-by: Miikka Heikkinen
(cherry picked from commit 19ee05c994af7d0c55ec9e4a44e7e485eafc8c66)

7 years agoAssigning 0xA UID3s to the new standalone qml demos
Alessandro Portale [Thu, 17 Jun 2010 21:11:18 +0000 (14:11 -0700)]
Assigning 0xA UID3s to the new standalone qml demos

Task-number: QTBUG-10148
Reviewed-by: Aleksandar Sasha Babic
(cherry picked from commit 3ab8e763a4ddf076dec48d71f0bae098325e1e50)

7 years agoUpdate 4.7-beta2 def files
Shane Kearns [Mon, 21 Jun 2010 13:22:38 +0000 (14:22 +0100)]
Update 4.7-beta2 def files

Task-number: QTBUG-11585
Reviewed-by: Trust Me
(cherry picked from commit 09b770aee2a39e7445d5154e7b8ba3ccc249d55f)

7 years agoFix a possible crash with the EVR video renderer in windows
Thierry Bastian [Fri, 18 Jun 2010 14:01:54 +0000 (16:01 +0200)]
Fix a possible crash with the EVR video renderer in windows

This can happn when the component can be instanciated but not all
the services are available on it. The code is now more robust.

Reviewed-By: gabi
(cherry picked from commit cf5971503ee1f7a5ce96758e33796dfdf48375bf)

8 years agoStopping a flick resulted in the next click being consumed.
Martin Jones [Wed, 16 Jun 2010 06:33:19 +0000 (16:33 +1000)]
Stopping a flick resulted in the next click being consumed.

Task-number: QTBUG-11390
(cherry picked from commit cfbca0bd925b76fff533dc093c67ad72dbd73de5)

8 years agoclearFocus() shouldn't mess with focus if it doesn't have focus
Martin Jones [Thu, 17 Jun 2010 00:26:13 +0000 (10:26 +1000)]
clearFocus() shouldn't mess with focus if it doesn't have focus
removing an item from the view caused the focus to change even if
the removed item didn't have focus.

Task-number: QTBUG-11341
Reviewed-by: Yoann Lopes
(cherry picked from commit 7a577ff67388413a882435c5cbd1ad6d1fa8393d)

8 years agoFixed infinite recursion when drawing very large painter paths.
Kim Motoyoshi Kalland [Wed, 16 Jun 2010 10:10:03 +0000 (12:10 +0200)]
Fixed infinite recursion when drawing very large painter paths.

Task-number: QTBUG-11291
Reviewed-by: Gunnar
(cherry picked from commit 7619c210217c85ef6e8d3571cce5d1272b1cb437)

8 years agoFix autoScroll implementation
Alan Alpert [Wed, 16 Jun 2010 10:18:40 +0000 (12:18 +0200)]
Fix autoScroll implementation

The scrolling should not be calculated inside the paint event, this
leads to some incorrect behaviour. It is now calculated separately when
needed.

Patch actually written by Alexis, and I reviewed it.

Task-number: QTBUG-11127
Reviewed-by: Alexis Ménard
(cherry picked from commit bc4c5a2d9c5d3841948bc4443f2229d8d6ec0e95)

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit into 4.7-integration
Qt Continuous Integration System [Tue, 15 Jun 2010 08:56:04 +0000 (10:56 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
  Updated WebKit to 40c2d6907ef75288b4f15e7fad334b9138acdbbf

8 years agoUpdated WebKit to 40c2d6907ef75288b4f15e7fad334b9138acdbbf
Simon Hausmann [Tue, 15 Jun 2010 08:25:24 +0000 (10:25 +0200)]
Updated WebKit to 40c2d6907ef75288b4f15e7fad334b9138acdbbf

Integrated fix:

|| <https://webkit.org/b/40487> || [Qt] The qt_webkit_version.pri file gets overwritten on install ||

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Tue, 15 Jun 2010 05:42:44 +0000 (07:42 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fixed error reporting in grayraster and reduced default pool size.
  Add QTextOption API to QStaticText

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Mon, 14 Jun 2010 21:14:42 +0000 (23:14 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (53 commits)
  ListView.onRemove animation is not played when the list has only one item.
  Move listview/itemlist.qml to a separate visualitemmodel example
  Make snapping work properly for highlight ranges > item size
  Fix test - sizeHint should not change after initial load. Also use
  Minor doc fixes
  Doc improvements, including snippet fixes, linking to examples, making
  Fix qmlviewer test failure on windows
  Do not keep flush timer running once no pixmaps are detached.
  Avoid recursive refill() in List/GridView
  Make snippet compile and pass license test, and add missing snippet file
  Remove accidentaly added characters.
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Mon, 14 Jun 2010 18:07:17 +0000 (20:07 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2:
  Fixed error reporting in grayraster and reduced default pool size.
  Add QTextOption API to QStaticText

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Mon, 14 Jun 2010 12:07:46 +0000 (14:07 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Added prependEpocroot replacement function to platform_paths.prf

8 years agoFixed error reporting in grayraster and reduced default pool size.
Carolina Gomes [Mon, 14 Jun 2010 11:23:48 +0000 (13:23 +0200)]
Fixed error reporting in grayraster and reduced default pool size.

Task-number: QTBUG-10471

Merge-request: 642
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
8 years agoAdded prependEpocroot replacement function to platform_paths.prf
Miikka Heikkinen [Mon, 14 Jun 2010 10:44:43 +0000 (13:44 +0300)]
Added prependEpocroot replacement function to platform_paths.prf

This function can be used to do smart prepending of epocroot to paths
defined by platform_paths.prf, though it'll work for any string.

This is useful because paths defined in platform_paths.prf can start
either with full epocroot or just slash depending on environment.

E.g.

exists($$prependEpocroot($$MW_LAYER_PUBLIC_EXPORT_PATH(foobar.h))) {
   ...
}

Reviewed-by: Janne Koskinen
8 years agoAdd QTextOption API to QStaticText
Eskil Abrahamsen Blomfeldt [Mon, 14 Jun 2010 10:45:10 +0000 (12:45 +0200)]
Add QTextOption API to QStaticText

To allow more control over the layout process for a QStaticText,
introduce a QTextOption API. This will allow you to, e.g., set an
alignment for the text layout. Patch also contains a couple of bug fixes
to make right alignment work correctly when you set a text width on
the QStaticText.

Task-number: QTBUG-9031
Reviewed-by: Samuel
8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Mon, 14 Jun 2010 02:14:28 +0000 (04:14 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (53 commits)
  ListView.onRemove animation is not played when the list has only one item.
  Move listview/itemlist.qml to a separate visualitemmodel example
  Make snapping work properly for highlight ranges > item size
  Fix test - sizeHint should not change after initial load. Also use
  Minor doc fixes
  Doc improvements, including snippet fixes, linking to examples, making
  Fix qmlviewer test failure on windows
  Do not keep flush timer running once no pixmaps are detached.
  Avoid recursive refill() in List/GridView
  Make snippet compile and pass license test, and add missing snippet file
  Remove accidentaly added characters.
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit into 4.7-integration
Qt Continuous Integration System [Sun, 13 Jun 2010 23:31:47 +0000 (01:31 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-webkit:
  Updated WebKit to f943ead2759537527faa7f3cb057d995291663b9

8 years agoUpdated WebKit to f943ead2759537527faa7f3cb057d995291663b9
Simon Hausmann [Sun, 13 Jun 2010 21:21:06 +0000 (23:21 +0200)]
Updated WebKit to f943ead2759537527faa7f3cb057d995291663b9

Integrated changes:

|| <https://webkit.org/b/31779> || QWebPage::findText() does not clear selection when passed empty string ||
|| <https://webkit.org/b/37316> || [Qt] tests/hybridPixmap fails ||
|| <https://webkit.org/b/40359> || [Qt] Imperfect dependency for generated SVGNames.cpp ||
|| <https://webkit.org/b/40490> || [Qt] Typo error in QWebPluginFactory Documentation ||
|| <https://webkit.org/b/40401> || REGRESSION: [Qt] When dragging onto a page that handles the drag in Javascript it will be a move and not a copy by default ||
|| <https://webkit.org/b/35861> || [Qt] Add documentation to the QtWebkit bridge ||
|| <https://webkit.org/b/39958> || [Qt] TextBreakIteratorQt performance ||
|| <https://webkit.org/b/40535> || [Qt] GraphicsLayer: recaching images creates an unnecessary deep copy ||
|| <https://webkit.org/b/36569> || SQLStatementErrorCallback's return value needs to be converted to a boolean ||
|| <https://webkit.org/b/39357> || [QT] QT_BEARER flag is not enabled on S60 properly ||

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Sat, 12 Jun 2010 09:59:56 +0000 (11:59 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (53 commits)
  ListView.onRemove animation is not played when the list has only one item.
  Move listview/itemlist.qml to a separate visualitemmodel example
  Make snapping work properly for highlight ranges > item size
  Fix test - sizeHint should not change after initial load. Also use
  Minor doc fixes
  Doc improvements, including snippet fixes, linking to examples, making
  Fix qmlviewer test failure on windows
  Do not keep flush timer running once no pixmaps are detached.
  Avoid recursive refill() in List/GridView
  Make snippet compile and pass license test, and add missing snippet file
  Remove accidentaly added characters.
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Sat, 12 Jun 2010 06:37:02 +0000 (08:37 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Show EditorDateEdit before changing selection in qdatetimeedit test
  Moved runonphone target to prf files for all build systems.
  Incorrectly named keys in QS60StyleEnums::SkinParts
  Fix recursive targets for src.pro
  Fix recursive 'make sis' for symbian builds
  Fixed destdir not being defined.
  Enable runonphone target for libraries as well.

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Sat, 12 Jun 2010 03:18:17 +0000 (05:18 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (53 commits)
  ListView.onRemove animation is not played when the list has only one item.
  Move listview/itemlist.qml to a separate visualitemmodel example
  Make snapping work properly for highlight ranges > item size
  Fix test - sizeHint should not change after initial load. Also use
  Minor doc fixes
  Doc improvements, including snippet fixes, linking to examples, making
  Fix qmlviewer test failure on windows
  Do not keep flush timer running once no pixmaps are detached.
  Avoid recursive refill() in List/GridView
  Make snippet compile and pass license test, and add missing snippet file
  Remove accidentaly added characters.
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Sat, 12 Jun 2010 00:28:39 +0000 (02:28 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (31 commits)
  Fixed an on-exit crash for apps using GL.
  QMetaType: do not crash when registering builtin stream operator
  Fix another potential strstr() crash for EGL based GL apps.
  Fixed an on-exit application crash for GL apps using EGL.
  Compile fix.
  QWidget::childAt for masked child widgets doesn't work properly
  Optimized 90-, 180-, and 270- rotated blits in raster paint engine.
  Rename QLocale::isWrittenRightToLeft() to textDirection()
  Fixed some bugs in detection of keyboard directionality
  Add a isWrittenRightToLeft() method to QLocale.
  consistent handling of directionality in QTextLayout
  For an empty line edit the cursor position is depending on input language
  correctly initialize the bidi level in the text engine
  Use the textDirection() of blocks correctly.
  Add QTextBlock::textDirection()
  Make sure LayoutDirectionAuto is the default text direction
  LayoutDirectionAuto is the default layout direction for QPainter
  Correct BiDi behavior of QLineEdit
  The default text direction for QTextOption is Qt::LayoutDirectionAuto
  Handle setting the layoutDirection to Qt::LayoutDirectionAuto
  ...

8 years agoFixed an on-exit crash for apps using GL.
Trond Kjernåsen [Fri, 11 Jun 2010 12:47:21 +0000 (14:47 +0200)]
Fixed an on-exit crash for apps using GL.

If a QGLWidget is left on the heap when the QApplication destructor is
called, it will leave the QGLWidget in a broken state.
The widget itself is released and set to a non-created state,
which the associated QGLContext doesn't get notified about.
With this patch the QGLWidget knows when QWidget::destroy() is called
and can act acordingly.

Task-number: QT-3498, QTBUG-10995
Reviewed-by: Paul
8 years agoQMetaType: do not crash when registering builtin stream operator
Olivier Goffart [Wed, 9 Jun 2010 08:04:50 +0000 (10:04 +0200)]
QMetaType: do not crash when registering builtin stream operator

It is not required to register builtin operator, but old code might
do so if a type was not builtin before.
This is the case of QVariant which became builtin only in Qt 4.7

Task-number: QTBUG-11316
Reviewed-by: Gabriel
8 years agoShow EditorDateEdit before changing selection in qdatetimeedit test
Miikka Heikkinen [Fri, 11 Jun 2010 11:35:18 +0000 (14:35 +0300)]
Show EditorDateEdit before changing selection in qdatetimeedit test

In Symbian plaform showing a widget automatically focuses it by design,
which breaks this test case. Changed the selection change to happen
after widget show, as this test case doesn't require it to happen
before show.

Task-number: QTBUG-11046
Reviewed-by: axis
8 years agoMerge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7
Sami Merila [Fri, 11 Jun 2010 11:30:21 +0000 (14:30 +0300)]
Merge branch '4.7' of git@scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7

8 years agoMerge branch 'runonphone_targets' into 4.7-s60
axis [Fri, 11 Jun 2010 11:29:03 +0000 (13:29 +0200)]
Merge branch 'runonphone_targets' into 4.7-s60

8 years agoMoved runonphone target to prf files for all build systems.
axis [Thu, 10 Jun 2010 11:38:39 +0000 (13:38 +0200)]
Moved runonphone target to prf files for all build systems.

This reduces code duplication.

RevBy:    Miikka Heikkinen

8 years agoIncorrectly named keys in QS60StyleEnums::SkinParts
Sami Merila [Fri, 11 Jun 2010 11:17:01 +0000 (14:17 +0300)]
Incorrectly named keys in QS60StyleEnums::SkinParts

Some of the internal part names of QS60Style do not match the real
theme item names, making automated tool use to make "theme blob"
for QCreator simulator manual work.

Renamed the parts to match native side names.

Task-number: QTBUG-11053
Reviewed-by: Alessandro Portale
8 years agoFix another potential strstr() crash for EGL based GL apps.
Trond Kjernåsen [Fri, 11 Jun 2010 10:25:29 +0000 (12:25 +0200)]
Fix another potential strstr() crash for EGL based GL apps.

Task-number: releated to QT-3498
Reviewed-by: Samuel
8 years agoFixed an on-exit application crash for GL apps using EGL.
Trond Kjernåsen [Fri, 11 Jun 2010 08:52:43 +0000 (10:52 +0200)]
Fixed an on-exit application crash for GL apps using EGL.

Task-number: QT-3498
Reviewed-by: Samuel
8 years agoCompile fix.
Samuel Rødal [Fri, 11 Jun 2010 08:29:06 +0000 (10:29 +0200)]
Compile fix.

The PFNGLXCREATECONTEXTATTRIBSARBPROC typedef isn't defined on all
GLX 1.3 systems, so we use our own.

Reviewed-by: Trond
8 years agoFix recursive targets for src.pro
Miikka Heikkinen [Fri, 11 Jun 2010 08:00:56 +0000 (11:00 +0300)]
Fix recursive targets for src.pro

Dependencies to tools moc, rcc and uic on some subdirs break recursive
targets like 'make sis' for symbian-abld and symbian-sbsv2 builds.
There is no need to have any subdir dependencies for above mkspecs as
those builds are always ordered anyway.

Task-number: QTBUG-5312
Reviewed-by: Janne Koskinen
8 years agoFix recursive 'make sis' for symbian builds
Miikka Heikkinen [Thu, 10 Jun 2010 12:27:34 +0000 (15:27 +0300)]
Fix recursive 'make sis' for symbian builds

It makes no sense for 'sis' to depend on 'first' or really any target
in symbian-abld and symbian-sbsv2 builds, as all builds are recursive
anyway.

Also do not generate real sis targets for projects that do not
actually deploy anything, making the check equivalent to one
in qmake for generating pkg files.

Task-number: QTBUG-5312
Reviewed-by: Janne Koskinen
8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Fri, 11 Jun 2010 05:52:59 +0000 (15:52 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoListView.onRemove animation is not played when the list has only one item.
Martin Jones [Fri, 11 Jun 2010 05:52:13 +0000 (15:52 +1000)]
ListView.onRemove animation is not played when the list has only one item.

Task-number: QTBUG-11285

8 years agoMove listview/itemlist.qml to a separate visualitemmodel example
Bea Lam [Fri, 11 Jun 2010 04:59:09 +0000 (14:59 +1000)]
Move listview/itemlist.qml to a separate visualitemmodel example

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Fri, 11 Jun 2010 05:14:00 +0000 (15:14 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoMake snapping work properly for highlight ranges > item size
Martin Jones [Fri, 11 Jun 2010 05:11:12 +0000 (15:11 +1000)]
Make snapping work properly for highlight ranges > item size
Snapping was only being applied to the current item when it was at a
highlight range boundary.

Task-number: QTBUG-11304

8 years agoFix test - sizeHint should not change after initial load. Also use
Bea Lam [Fri, 11 Jun 2010 04:15:30 +0000 (14:15 +1000)]
Fix test - sizeHint should not change after initial load. Also use
QTRY_COMPARE for some tests.

8 years agoMinor doc fixes
Bea Lam [Fri, 11 Jun 2010 01:45:55 +0000 (11:45 +1000)]
Minor doc fixes

8 years agoDoc improvements, including snippet fixes, linking to examples, making
Bea Lam [Fri, 11 Jun 2010 01:13:37 +0000 (11:13 +1000)]
Doc improvements, including snippet fixes, linking to examples, making
docs more consistent

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Fri, 11 Jun 2010 01:46:28 +0000 (11:46 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoFix qmlviewer test failure on windows
Martin Jones [Fri, 11 Jun 2010 01:45:01 +0000 (11:45 +1000)]
Fix qmlviewer test failure on windows
Attempted to make window size smaller than Windows minimum.

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Warwick Allison [Fri, 11 Jun 2010 01:14:28 +0000 (11:14 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoDo not keep flush timer running once no pixmaps are detached.
Warwick Allison [Fri, 11 Jun 2010 01:12:20 +0000 (11:12 +1000)]
Do not keep flush timer running once no pixmaps are detached.

Task-number: QT-3500

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Fri, 11 Jun 2010 00:15:09 +0000 (10:15 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoAvoid recursive refill() in List/GridView
Martin Jones [Fri, 11 Jun 2010 00:14:13 +0000 (10:14 +1000)]
Avoid recursive refill() in List/GridView

Task-number: QTBUG-11362

8 years agoMake snippet compile and pass license test, and add missing snippet file
Bea Lam [Fri, 11 Jun 2010 00:08:04 +0000 (10:08 +1000)]
Make snippet compile and pass license test, and add missing snippet file

8 years agoRemove accidentaly added characters.
Martin Jones [Thu, 10 Jun 2010 23:41:23 +0000 (09:41 +1000)]
Remove accidentaly added characters.

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 20:42:55 +0000 (22:42 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (42 commits)
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  Doc improvements: move some example code to snippets, add screenshots,
  Move some example code into snippets/ and add other doc fixes
  Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange
  Fix GridView bounds behavior with snapping enabled.
  Small optimization when checking if MouseArea's onPressAndHold is
  Fix autotest.
  Fixed `nmake clean' breaking declarative imports on Windows.
  Fix drawing flicker on Qml Viewer startup
  Fix snake demo
  Add qmlmethod Item::childAt() to delarative item
  Cursor positioning in QTextDocument after undo()
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 20:05:47 +0000 (22:05 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (26 commits)
  QWidget::childAt for masked child widgets doesn't work properly
  Optimized 90-, 180-, and 270- rotated blits in raster paint engine.
  Rename QLocale::isWrittenRightToLeft() to textDirection()
  Fixed some bugs in detection of keyboard directionality
  Add a isWrittenRightToLeft() method to QLocale.
  consistent handling of directionality in QTextLayout
  For an empty line edit the cursor position is depending on input language
  correctly initialize the bidi level in the text engine
  Use the textDirection() of blocks correctly.
  Add QTextBlock::textDirection()
  Make sure LayoutDirectionAuto is the default text direction
  LayoutDirectionAuto is the default layout direction for QPainter
  Correct BiDi behavior of QLineEdit
  The default text direction for QTextOption is Qt::LayoutDirectionAuto
  Handle setting the layoutDirection to Qt::LayoutDirectionAuto
  Introduce LayoutDirection Qt::LayoutDirectionAuto
  Fix QString::isRightToLeft() to conform with Unicode Bidi algorithm
  small optimisation
  QVarLenghtArray: Add typedefs for stl compatibility.
  prefer QElapsedTimer over QTime
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 16:46:24 +0000 (18:46 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Update 4.7 def files
  QS60Style: QComboBox displays checkboxes for items

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 13:56:23 +0000 (15:56 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (42 commits)
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  Doc improvements: move some example code to snippets, add screenshots,
  Move some example code into snippets/ and add other doc fixes
  Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange
  Fix GridView bounds behavior with snapping enabled.
  Small optimization when checking if MouseArea's onPressAndHold is
  Fix autotest.
  Fixed `nmake clean' breaking declarative imports on Windows.
  Fix drawing flicker on Qml Viewer startup
  Fix snake demo
  Add qmlmethod Item::childAt() to delarative item
  Cursor positioning in QTextDocument after undo()
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 13:15:08 +0000 (15:15 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (26 commits)
  QWidget::childAt for masked child widgets doesn't work properly
  Optimized 90-, 180-, and 270- rotated blits in raster paint engine.
  Rename QLocale::isWrittenRightToLeft() to textDirection()
  Fixed some bugs in detection of keyboard directionality
  Add a isWrittenRightToLeft() method to QLocale.
  consistent handling of directionality in QTextLayout
  For an empty line edit the cursor position is depending on input language
  correctly initialize the bidi level in the text engine
  Use the textDirection() of blocks correctly.
  Add QTextBlock::textDirection()
  Make sure LayoutDirectionAuto is the default text direction
  LayoutDirectionAuto is the default layout direction for QPainter
  Correct BiDi behavior of QLineEdit
  The default text direction for QTextOption is Qt::LayoutDirectionAuto
  Handle setting the layoutDirection to Qt::LayoutDirectionAuto
  Introduce LayoutDirection Qt::LayoutDirectionAuto
  Fix QString::isRightToLeft() to conform with Unicode Bidi algorithm
  small optimisation
  QVarLenghtArray: Add typedefs for stl compatibility.
  prefer QElapsedTimer over QTime
  ...

8 years agoUpdate 4.7 def files
Shane Kearns [Thu, 10 Jun 2010 13:13:06 +0000 (14:13 +0100)]
Update 4.7 def files

Reviewed-by: Trust Me
8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7
David Boddie [Thu, 10 Jun 2010 12:56:11 +0000 (14:56 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7

8 years agoQWidget::childAt for masked child widgets doesn't work properly
Bjørn Erik Nilsen [Fri, 4 Jun 2010 10:12:01 +0000 (12:12 +0200)]
QWidget::childAt for masked child widgets doesn't work properly

Problem was that we didn't take the children's effective mask
into account when checking whether a point was inside or not.

This commit is also an optimization since we no longer check the point
against the widget's rect twice. Furthermore, unnecessary
QRegion operations are completely avoided in the common case.

Auto tests included.

Task-number: QTBUG-7150
Reviewed-by: paul
8 years agoFixed destdir not being defined.
axis [Thu, 10 Jun 2010 11:31:40 +0000 (13:31 +0200)]
Fixed destdir not being defined.

Local variables can't be counted upon between different profiles.

RevBy:    Trust me

8 years agoEnable runonphone target for libraries as well.
axis [Thu, 10 Jun 2010 11:27:02 +0000 (13:27 +0200)]
Enable runonphone target for libraries as well.

RevBy:    Miikka Heikkinen

8 years agoQS60Style: QComboBox displays checkboxes for items
Sami Merila [Thu, 10 Jun 2010 11:13:48 +0000 (14:13 +0300)]
QS60Style: QComboBox displays checkboxes for items

QComboMenuDelegate claims that all combobox menu items should be
checkable even if they aren't. In all the other styles, it has been
circumvented in the style code that this particular setting from
QComboMenuDelegate is ignored. :)

Adding the same workaround to QS60Style as well.

Task-number: QTBUG-11322
Reviewed-by: Alessandro Portale
8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 10:16:53 +0000 (12:16 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Explicit EXPORTUNFROZEN will prevent default defBlock generation

8 years agoExplicit EXPORTUNFROZEN will prevent default defBlock generation
Miikka Heikkinen [Thu, 10 Jun 2010 08:39:31 +0000 (11:39 +0300)]
Explicit EXPORTUNFROZEN will prevent default defBlock generation

If MMP_RULES contains EXPORTUNFROZEN, no DEFFILE statements should
be generated to mmp files.

Reviewed-by: Janne Koskinen
8 years agoOptimized 90-, 180-, and 270- rotated blits in raster paint engine.
Samuel Rødal [Mon, 7 Jun 2010 15:23:44 +0000 (17:23 +0200)]
Optimized 90-, 180-, and 270- rotated blits in raster paint engine.

Blitting a 90-degree rotated RGB16 image now takes 40 % of
the time it used to on the N900.

Task-number: QT-3057
Reviewed-by: Kim
8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 07:21:59 +0000 (09:21 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (42 commits)
  Update on color change.
  Update on color change.
  Add go button to webbrowser example.
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  Doc improvements: move some example code to snippets, add screenshots,
  Move some example code into snippets/ and add other doc fixes
  Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange
  Fix GridView bounds behavior with snapping enabled.
  Small optimization when checking if MouseArea's onPressAndHold is
  Fix autotest.
  Fixed `nmake clean' breaking declarative imports on Windows.
  Fix drawing flicker on Qml Viewer startup
  Fix snake demo
  Add qmlmethod Item::childAt() to delarative item
  Cursor positioning in QTextDocument after undo()
  ...

8 years agoUpdate on color change.
Warwick Allison [Thu, 10 Jun 2010 05:47:23 +0000 (15:47 +1000)]
Update on color change.

Task-number: QTBUG-11330

8 years agoUpdate on color change.
Warwick Allison [Thu, 10 Jun 2010 05:47:23 +0000 (15:47 +1000)]
Update on color change.

Task-number: QTBUG-11330

8 years agoAdd go button to webbrowser example.
Yann Bodson [Thu, 10 Jun 2010 04:29:21 +0000 (14:29 +1000)]
Add go button to webbrowser example.

Task-number: QTBUG-11310

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-integr...
Qt Continuous Integration System [Thu, 10 Jun 2010 04:24:10 +0000 (06:24 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
  Problems with missing symbols on QWS/AIX. Include freetype synthesis file for cross-compilation.

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 02:16:04 +0000 (04:16 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: (39 commits)
  Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
  Document attached properties
  Add 'on' prefix to documentation of signals
  Stablize qmlviewer test
  Improve test stability.
  qmlviewer: ensure that only clicks on the current file list are handled.
  Doc improvements: move some example code to snippets, add screenshots,
  Move some example code into snippets/ and add other doc fixes
  Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange
  Fix GridView bounds behavior with snapping enabled.
  Small optimization when checking if MouseArea's onPressAndHold is
  Fix autotest.
  Fixed `nmake clean' breaking declarative imports on Windows.
  Fix drawing flicker on Qml Viewer startup
  Fix snake demo
  Add qmlmethod Item::childAt() to delarative item
  Cursor positioning in QTextDocument after undo()
  Fix slow network access in qmlviewer (Windows)
  Don't layout multiple times when an ancestor becomes (in)visible.
  Add an example of animated item add/remove in ListView
  ...

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-integr...
Qt Continuous Integration System [Thu, 10 Jun 2010 01:58:38 +0000 (03:58 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging:
  Problems with missing symbols on QWS/AIX. Include freetype synthesis file for cross-compilation.

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration
Qt Continuous Integration System [Thu, 10 Jun 2010 01:35:03 +0000 (03:35 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2: (23 commits)
  Rename QLocale::isWrittenRightToLeft() to textDirection()
  Fixed some bugs in detection of keyboard directionality
  Add a isWrittenRightToLeft() method to QLocale.
  consistent handling of directionality in QTextLayout
  For an empty line edit the cursor position is depending on input language
  correctly initialize the bidi level in the text engine
  Use the textDirection() of blocks correctly.
  Add QTextBlock::textDirection()
  Make sure LayoutDirectionAuto is the default text direction
  LayoutDirectionAuto is the default layout direction for QPainter
  Correct BiDi behavior of QLineEdit
  The default text direction for QTextOption is Qt::LayoutDirectionAuto
  Handle setting the layoutDirection to Qt::LayoutDirectionAuto
  Introduce LayoutDirection Qt::LayoutDirectionAuto
  Fix QString::isRightToLeft() to conform with Unicode Bidi algorithm
  small optimisation
  QVarLenghtArray: Add typedefs for stl compatibility.
  prefer QElapsedTimer over QTime
  Allow to build Qt in static with mingw
  Protected call to glXChooseFBConfig with appropriate defines.
  ...

8 years agoRemove 'XXX Experimental' from VisualItemModel/VisualDataModel and
Bea Lam [Thu, 10 Jun 2010 01:21:09 +0000 (11:21 +1000)]
Remove 'XXX Experimental' from VisualItemModel/VisualDataModel and
Package

8 years agoDocument attached properties
Bea Lam [Thu, 10 Jun 2010 01:19:48 +0000 (11:19 +1000)]
Document attached properties

8 years agoAdd 'on' prefix to documentation of signals
Bea Lam [Thu, 10 Jun 2010 00:49:13 +0000 (10:49 +1000)]
Add 'on' prefix to documentation of signals

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Thu, 10 Jun 2010 00:34:22 +0000 (10:34 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoStablize qmlviewer test
Martin Jones [Thu, 10 Jun 2010 00:33:44 +0000 (10:33 +1000)]
Stablize qmlviewer test

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-multimedia
Toby Tomkins [Thu, 10 Jun 2010 00:25:20 +0000 (10:25 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-multimedia-staging into 4.7-multimedia

8 years agoImprove test stability.
Warwick Allison [Thu, 10 Jun 2010 00:22:34 +0000 (10:22 +1000)]
Improve test stability.

8 years agoProblems with missing symbols on QWS/AIX. Include freetype synthesis file for cross...
Toby Tomkins [Thu, 10 Jun 2010 00:21:49 +0000 (10:21 +1000)]
Problems with missing symbols on QWS/AIX. Include freetype synthesis file for cross-compilation.

Reviewed-by: Rohan McGovern
8 years agoqmlviewer: ensure that only clicks on the current file list are handled.
Martin Jones [Wed, 9 Jun 2010 23:48:27 +0000 (09:48 +1000)]
qmlviewer: ensure that only clicks on the current file list are handled.

Task-number: QTBUG-11315

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Wed, 9 Jun 2010 23:34:03 +0000 (09:34 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoDoc improvements: move some example code to snippets, add screenshots,
Bea Lam [Wed, 9 Jun 2010 08:04:48 +0000 (18:04 +1000)]
Doc improvements: move some example code to snippets, add screenshots,
other minor doc fixes

8 years agoMove some example code into snippets/ and add other doc fixes
Bea Lam [Tue, 8 Jun 2010 00:50:07 +0000 (10:50 +1000)]
Move some example code into snippets/ and add other doc fixes

8 years agoFix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnfo...
Martin Jones [Wed, 9 Jun 2010 23:32:20 +0000 (09:32 +1000)]
Fix crash when changing ListView model with highlightRangeMode: ListView.StrictlyEnforceRange

Task-number: QTBUG-11328

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
Qt Continuous Integration System [Wed, 9 Jun 2010 22:27:56 +0000 (00:27 +0200)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration

* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public:
  Fix qtlibinfix build of qml plugins (for Symbian)

8 years agoMerge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Martin Jones [Wed, 9 Jun 2010 22:26:43 +0000 (08:26 +1000)]
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7

8 years agoRename QLocale::isWrittenRightToLeft() to textDirection()
Lars Knoll [Wed, 9 Jun 2010 22:05:07 +0000 (00:05 +0200)]
Rename QLocale::isWrittenRightToLeft() to textDirection()

This is more in line with the rest of Qt.

Reviewed-by: Simon Hausmann
8 years agoFixed some bugs in detection of keyboard directionality
Lars Knoll [Sat, 5 Jun 2010 21:15:16 +0000 (23:15 +0200)]
Fixed some bugs in detection of keyboard directionality

The mapping table on X11 had a few bugs. Implemented
rudimentary support on QWS and fixed a tiny issue on
Mac.

Reviewed-by: Simon Hausmann
8 years agoAdd a isWrittenRightToLeft() method to QLocale.
Lars Knoll [Wed, 9 Jun 2010 21:00:20 +0000 (23:00 +0200)]
Add a isWrittenRightToLeft() method to QLocale.

This helps us keeping the code in the key mappers
that detect keyboard changes simple and is useful
for other cases as well.

Task-number: Part of QT-3292
Reviewed-by: Simon Hausmann
8 years agoconsistent handling of directionality in QTextLayout
Lars Knoll [Sat, 5 Jun 2010 21:23:42 +0000 (23:23 +0200)]
consistent handling of directionality in QTextLayout

Make sure we use the same method to determine RTL/LTR
for the layout everywhere.

Task-number: Part of QT-3292
Reviewed-by: Simon Hausmann