aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed clip on QML2 rectangles to include the borders.Kim Motoyoshi Kalland2011-08-163-13/+23
| | | | | | | | | | This is related to commit 31ebb4bfb0df83805c5d86b6773f11ba1145c7cd. Task-number: QTBUG-20547 Change-Id: I6a5b6c56d440c7fa7f5546472305f62227b64c29 Reviewed-on: http://codereview.qt.nokia.com/2952 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Improve the Qt/JavaScript (QJS) documentationKent Hansen2011-08-153-60/+264
| | | | | | | | | | | | | Make sure all public classes and functions are documented. Fix/remove broken references. Add code snippets. Add a minimal "Making Applications Scriptable" page based on the QtScript docs. Change-Id: I76a32bff776b478f01ff08b3276a0a020a1fa81f Reviewed-on: http://codereview.qt.nokia.com/2863 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Add noCap and startTime properties to EmitterAlan Alpert2011-08-153-5/+63
| | | | | | | Change-Id: I8498b2e574a32bfbab9f139e718424572b1258a0 Reviewed-on: http://codereview.qt.nokia.com/2855 Reviewed-by: Alan Alpert <alan.alpert@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Fix VisualDataModel auto test failure.Andrew den Exter2011-08-151-0/+1
| | | | | | | | | | Set the DynamicMetaObject flag when constructing an extended type. Fixes failure introduced in 038619bf2c5e7d2c18a6f463cd994d8b3831e61f. Change-Id: Idbbbec8f9ec3792b2765639781dba1696fce0a49 Reviewed-on: http://codereview.qt.nokia.com/2927 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* Remove \since tagsAlan Alpert2011-08-1527-27/+0
| | | | | | | | | It's a new module, of course they're new in this version. Change-Id: I8bce4d452161cd581c046fec62a41cac4e0609ed Reviewed-on: http://codereview.qt.nokia.com/2854 Reviewed-by: Alan Alpert <alan.alpert@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Refactor BasicEmitter into EmitterAlan Alpert2011-08-157-436/+303
| | | | | | | | | | No real point having a separate class, and it makes the docs more complex. Change-Id: I48aa7bafce541b0b5b792351adb5edf77fc67de2 Reviewed-on: http://codereview.qt.nokia.com/2853 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Fix race condition in processJobs()Bea Lam2011-08-131-19/+10
| | | | | | | | | | | | | | | Don't modify list of running jobs when a job is aborted since the job may have just started. Wait till the next time processJobs() is invoked for a new job and discard the aborted job at that time. (cherry picked from commit f55ecc080d0c5eca4e65a235c63ab13867c86874 in 4.8) Task-number: QTBUG-20841 Change-Id: Icb4cd089505c0634d3fec023b52c61bbc878404f Reviewed-on: http://codereview.qt.nokia.com/2837 Reviewed-by: Bea Lam <bea.lam@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Fixed QSGNode leak.Kim Motoyoshi Kalland2011-08-123-8/+32
| | | | | | | | | QSGItem was setting its node pointer to 0 without deleting it. Change-Id: I8b52d02069410b1dfc0057f926a52c946ef348a2 Reviewed-on: http://codereview.qt.nokia.com/2910 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Use the correct export macrosLars Knoll2011-08-113-6/+6
| | | | | | | | | | Otherwise we'll get problems when compiling on Windows. Change-Id: I2a366da3cd4cd08ba8bc8d9c8c81409737bee697 Reviewed-on: http://codereview.qt.nokia.com/2752 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Compile.Bjørn Erik Nilsen2011-08-111-1/+1
| | | | | | | Change-Id: I13f95b415b28467617c4ca804e706082150d253e Reviewed-on: http://codereview.qt.nokia.com/2870 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bjørn Erik Nilsen <bjorn.nilsen@nokia.com>
* Added a faster subpixel antialiasing material for distance field text.Yoann Lopes2011-08-116-18/+98
| | | | | | | | | | Based on two texture samples instead of five. Can be enabled with qmlscene --text-subpixel-antialiasing-lowq Change-Id: I726f73d812b93aa9ca38ce142d1e97b9a40d200a Reviewed-on: http://codereview.qt.nokia.com/2861 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com>
* Replace QScriptBagContainer by QIntrusiveListKent Hansen2011-08-116-184/+49
| | | | | | | | | | | | | | | | | | | | | | | QIntrusiveList effectively does the same as QScriptBagContainer, without the need to inherit a Node class. Let's avoid the code duplication. However, QIntrusiveList::remove() and insert() are less strict than QScriptBagContainer; introduce QScriptIntrusiveList that performs the same sanity checks (no duplicate insertion, etc). Ideally these checks would be merged into QIntrusiveList. Also rename QJSValuePrivate::reinitialize() to invalidate(), and make it not call engine->unregisterValue(this) any more. Values are only invalidated at engine destruction time, and it's the engine's responsibility to erase the list. Change-Id: I60fc61ee8f90a716a285b1dd1bf4d6a08a9349df Reviewed-on: http://codereview.qt.nokia.com/2628 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Set IsDirect flag of property cache data if appropriateKent Hansen2011-08-111-0/+4
| | | | | | | | | | | The IsDirect flag was only set in QDeclarativePropertyCache::append(), but it should be set in create() as well. Change-Id: I43c980e5f7e01e44ade662c11c2daf7a9a44d299 Reviewed-on: http://codereview.qt.nokia.com/2844 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Guard QML-specific handling of value type property accessKent Hansen2011-08-111-2/+4
| | | | | | | | | | | | When using QJSEngine, there is no QDeclarativeEngine associated with the QV8Engine, so check if it's there first. This was causing the QJS qobject bindings autotest to crash. Change-Id: If2c1d414d615bfbe93580d06555f5c17b0e41eef Reviewed-on: http://codereview.qt.nokia.com/2845 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Remove initialization warningsGunnar Sletta2011-08-111-6/+6
| | | | | | | Change-Id: Ie11a91034174b248b564fa5d8af8905a79b6eacf Reviewed-on: http://codereview.qt.nokia.com/2841 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
* Code cleanup: unify QRegExp conversion.Jedrzej Nowacki2011-08-101-50/+1
| | | | | | | | | Remove duplicated code for QRegExp conversion. Change-Id: Ic0a6b68a317404ac6d1695f0220f257046b4ba80 Reviewed-on: http://codereview.qt.nokia.com/2703 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Add missing check in QJSValue::propertyJedrzej Nowacki2011-08-101-0/+2
| | | | | | | | | Only an object can have a property. Change-Id: I032cf3a08f777b6b47cb5a417fa796059bfc9ef5 Reviewed-on: http://codereview.qt.nokia.com/2702 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Code cleanup: unify string conversions.Jedrzej Nowacki2011-08-102-6/+5
| | | | | | | | | Unify string conversions when there is not any external string wrapper. Change-Id: I6665e33c968b9d1c6ad86595639967ddcd257667 Reviewed-on: http://codereview.qt.nokia.com/2701 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Code cleanup.Jedrzej Nowacki2011-08-101-8/+10
| | | | | | | | | Remove redundant else conditions. Change-Id: I5795bd931d9204a31e0edfea0d3489c119db1020 Reviewed-on: http://codereview.qt.nokia.com/2700 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Replace duplicated code by a function call.Jedrzej Nowacki2011-08-101-10/+1
| | | | | | | | | | According to comment the code was copied from QtScript. As the implementation is merged to QtDeclarative we can use common code path. Change-Id: Id603ef0207a1356f8c010a35fe601568a03aac48 Reviewed-on: http://codereview.qt.nokia.com/2699 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* QSGDistanceFieldGlyphCache code refactoring.Yoann Lopes2011-08-1011-159/+210
| | | | | | | | The distance field glyph caches are now contained in the QSGContext. Change-Id: Ifc5d155917314b1cc5905ef86fdad0bbc5635c7d Reviewed-on: http://codereview.qt.nokia.com/2787 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
* Add support for individual row and column spacing to Grid object.Glenn Watson2011-08-102-9/+63
| | | | | | | | | | | | | Add rowSpacing and columnSpacing properties to QML Grid object. If these are specified, use them when laying out the grid. If they are not specified, default to using the spacing property that was previously used, so it is backwards compatible. Task-number: QTBUG-11876 Change-Id: I5c809e89fe124d8d5ea1667b273f19e2c37ff18a Reviewed-on: http://codereview.qt.nokia.com/2797 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Make distance field text more easily configurable.Yoann Lopes2011-08-093-19/+39
| | | | | | | | | | Custom functions can be provided to compute the distance field threshold value and antialiasing range. Change-Id: Ie2ec8160d81671dedf72f0c72c3a5cbdf04d993a Reviewed-on: http://codereview.qt.nokia.com/2772 Reviewed-by: Yoann Lopes <yoann.lopes@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* Add documentationAlan Alpert2011-08-0942-300/+7815
| | | | | | | | | Copy the documentation back to the scenegraph items, and update it to the new module syntax. Change-Id: I5d030a231f991a209a8593ddb069e1b6cd03580e Reviewed-on: http://codereview.qt.nokia.com/2735 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
* Copy the docs for QtQuick 1Alan Alpert2011-08-0928-112/+112
| | | | | | Change-Id: Iaaaaaaa13726fa471f94fc7f809911164df24544 Reviewed-on: http://codereview.qt.nokia.com/2755 Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
* Revise QDeclarativeChangeSet.Andrew den Exter2011-08-082-398/+413
| | | | | | | | | | Represent moves as associated Removes and Inserts instead of discrete actions. Add API for applying a set of changes to another change set. Change-Id: Id97c1648c7480023dbfef325150bb81c2fea95c0 Reviewed-on: http://codereview.qt.nokia.com/2720 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
* parse args earlierCharles Yin2011-08-081-3/+4
| | | | | | | Change-Id: Ie0869d3f70d1e898a9b0635e28bcad2e92fa607c Reviewed-on: http://codereview.qt.nokia.com/2718 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* add dummy notify signals to remove warningsCharles Yin2011-08-081-3/+5
| | | | | | | Change-Id: Id8eca4ca2d72a1b3a4293d6ed19ef7f3fdb02d37 Reviewed-on: http://codereview.qt.nokia.com/2712 Reviewed-by: Charles Yin <charles.yin@nokia.com> Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
* don't create QApplication if there is already one thereCharles Yin2011-08-081-1/+5
| | | | | | Change-Id: Iaf9ebf6855992962abfb3452dc398149af15bbbc Reviewed-on: http://codereview.qt.nokia.com/2711 Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Show header/footer if current index is set to first/last item or rowBea Lam2011-08-054-7/+49
| | | | | | | | Task-number: QTBUG-17853 Change-Id: I1d679cee31d6ee2a4bb2f2bf90f73eb12898189b Reviewed-on: http://codereview.qt.nokia.com/2664 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* ListView with StrictlyEnforceRange skips over itemsMartin Jones2011-08-052-2/+6
| | | | | | | | | | | | | | When list item size varies smaller items next to larger items may not be able to become the current item. Ensure the snap item is found using the correct range, i.e. half of previous item above snap pos and half of next item below. Change-Id: I52ae235e6b801bda48fcb636bb4150ab643715e8 Fixes: QTBUG-20745 Reviewed-on: http://codereview.qt.nokia.com/2650 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Fix outdated license headers.Jason McDonald2011-08-0525-393/+435
| | | | | | | Change-Id: I81fd41433b03b13befe0b5c68ec248ea71e8c235 Reviewed-on: http://codereview.qt.nokia.com/2596 Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Don't cache model data in VisualDataModel.Andrew den Exter2011-08-051-210/+347
| | | | | | | | | | | | | | | | VisualDataModel doesn't have any way to monitor the lifetime of objects cached other than relying on the source model to emit a changed signal. If the model doesn't do this or a pointer property is referenced after an item has been removed from the model then cache can return a stale pointer. This can be avoided by querying the model directly whenever a property is accessed. Task-number: QTBUG-18036 Change-Id: I7688174c2337cb5c0f77eb7d31a01f4aa958071b Reviewed-on: http://codereview.qt.nokia.com/2647 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Remove dead code from QJSValuePrivateKent Hansen2011-08-042-21/+0
| | | | | | | | | | | reinitialize() was used to implement setGlobalObject() and setScriptClass() in the QtScript/V8 port, but those functions will not be part of the new JS API. Change-Id: I030d371659136a407636c7a13afe7623a60a2837 Reviewed-on: http://codereview.qt.nokia.com/2623 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Move QJSValue InvalidValue definition to "inline" headerKent Hansen2011-08-042-24/+23
| | | | | | | | | | | Avoid warning "inline function ‘QJSValuePrivate::QJSValuePrivate()’ used but never defined" when only qjsvalue_p.h is included for a compilation unit. Change-Id: I75bb49dedbfcedf5f71c25210371f03663572b46 Reviewed-on: http://codereview.qt.nokia.com/2620 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
* Add QIntrusiveList::contains() functionKent Hansen2011-08-042-0/+19
| | | | | | | | | QIntrusiveList is nice, but it needs a contains() function. Change-Id: I17adf63db080ffd39acac18cd8ecb23e48d76ed6 Reviewed-on: http://codereview.qt.nokia.com/2569 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Remove dead code.Jedrzej Nowacki2011-08-041-6/+0
| | | | | | | | | Structure was not used. Change-Id: Ib3a67f8a1850c211bb0b0700c10153eb9ab6441a Reviewed-on: http://codereview.qt.nokia.com/2583 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* Fix ListView refill() where delegate size == 0Bea Lam2011-08-041-0/+2
| | | | | | | | | | | | | | | When refilling, if a delegate item is positioned at the start of the buffer, it should only be removed if its height is > 0. Otherwise refill() will constantly remove it in removeNonVisibleItems() and add it again in the next frame in addVisibleItems(). Regression from aa99d4f5cb4f1f512d1db90536752b518dbea449 Task-number: QTBUG-20712 Change-Id: I21d25fde21e0b559a378c9e202ace58947417a4d Reviewed-on: http://codereview.qt.nokia.com/2541 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Improved support for multiple to/from values in Transition.Michael Brasser2011-08-044-0/+12
| | | | | | | | | | | Trim the strings (previously "state1,state2" would work, but not "state1, state2", and document the feature. Task-number: QTBUG-14713 Change-Id: Ie0c5f803754751008c3e1bf766f08914f743338f Reviewed-on: http://codereview.qt.nokia.com/2592 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Rework threading internals in XmlListModel to avoid global staticBea Lam2011-08-041-91/+205
| | | | | | | | | | | | | | | | | | | QTBUG-20629 reports a crash on destruction of XmlListModel when cleaning up the global static for the QDeclarativeXmlQuery object. The fix restructures the internals to be like the threading structure used for QDeclarativePixmapReader which doesn't use a global static. Task-number: QTBUG-20629 Reviewed-by: Martin Jones (cherry picked from commit 422f4e8ec53b917fad09a3e671fd93048dde72ed in qt-qml-staging:master) Change-Id: Ic26164947abab67ec9d8f1ae68c20961e7af8a2b Reviewed-on: http://codereview.qt.nokia.com/2595 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Bea Lam <bea.lam@nokia.com>
* Improve error messages from compiler for signals and slotsChris Adams2011-08-044-9/+13
| | | | | | | | | | | This commit ensures that correct line and column information is provided in some cases (duplicate signal or method name, etc). Task-number: QTBUG-15076 Change-Id: I483bdc92ef4f1d1d2ff565bb957385fd495672da Reviewed-on: http://codereview.qt.nokia.com/1619 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Honour the resettable flag of aliased propertiesChris Adams2011-08-042-1/+4
| | | | | | | | | | | | | | Previously, alias properties were not considered isResettable even if the property they alias is resettable. This commit ensures that the IsResettable flag is set for alias properties iff the aliased property is resettable, and that it is honoured during property reset operations. Task-number: QTBUG-18182 Change-Id: I9cab11923a952df72e976a48489a78b24a34314f Reviewed-on: http://codereview.qt.nokia.com/1471 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Add enabled property to Transition.Michael Brasser2011-08-044-6/+58
| | | | | | | | Task-number: QTBUG-14488 Change-Id: I3619a0d26e99e2c19f50a63013dedc151b07154c Reviewed-on: http://codereview.qt.nokia.com/2591 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* Fix crash in QDeclarativePropertyChris Adams2011-08-041-3/+3
| | | | | | | | | | | | | | This commit ensures that we don't attempt to dereference a null pointer in QDeclarativeProperty. It also fixes a unit test failure by adding appropriate test files. Related to commit 9f9b23fd7943a3d125cb1cc9f333ce430b2706ea Task-number: QTBUG-14697 Change-Id: Ic60521e46401835029e293349a00610342d0d58f Reviewed-on: http://codereview.qt.nokia.com/2538 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com> Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* TypoAaron Kennedy2011-08-041-1/+1
| | | | | | Change-Id: I8be86a999eed0cc028415027e888515377cd37ad Reviewed-on: http://codereview.qt.nokia.com/2461 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
* Improve QJSValueIterator implementation.Jedrzej Nowacki2011-08-038-138/+221
| | | | | | | | | | | The old implementation was a hack, it had some memory leak (in case of deleted engine) and performance problems (for example all names were copied to separate QList instance instead of reusing v8::Array). Change-Id: Ic70ad511127a8c05df3c627e4496083004c6452a Reviewed-on: http://codereview.qt.nokia.com/2512 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Remove FIXME from the v8base.priPeter Varga2011-08-031-4/+5
| | | | | | | | | | | | | | Check the version of gcc and use -fno-strict-aliasing flag when it's 4.5. Merge-request: 1 (This patch was cherry-pick from QtScript module) Reviewed-by: Jedrzej Nowacki <jedrzej.nowacki@nokia.com> Change-Id: I0086ec374c7cfd4c0842198734318c915c6cea8d Reviewed-on: http://codereview.qt.nokia.com/2515 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
* Prevent Binding from crashing when its target object is deleted.Michael Brasser2011-08-032-8/+16
| | | | | | | | Task-number: QTBUG-20692 Change-Id: Ia9a3d532c45baf01b8c20c7aac9ef373942a75d8 Reviewed-on: http://codereview.qt.nokia.com/2531 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
* qmltest: Fix SignalSpy to use TestUtil helper functionsCaio Marcelo de Oliveira Filho2011-08-031-1/+5
| | | | | | | | | | | Previously the callerFile() and callerLine() functions were exposed as properties of the QtTest module, but now they are available in the TestUtil component. TestCase was updated but SignalSpy wasn't. Change-Id: Ic3f35e6f096b28c443e8aadaa78732a8a15dc284 Reviewed-on: http://codereview.qt.nokia.com/2528 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
* Introduced a CONFIG option that enables declarative debug servicesThorbjørn Lindeijer2011-08-022-0/+22
| | | | | | | | | | | | | | | | This replaces the need for applications to explicitly make a call to enable the debug services, and rather does it in declarative.h when the 'declarative_debug' CONFIG option is used. Done-with: Kai Koehne Reviewed-by: Martin Jones Reviewed-by: Michael Brasser (cherry picked from commit 5517cc588c39814530b8bfd957821f55be42acf2) Change-Id: Iacfc5a9b2ca0c2610288cf86f190b4a9950cacd1 Reviewed-on: http://codereview.qt.nokia.com/2436 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>