summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativelistmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Improve error messagesBea Lam2010-09-171-3/+3
|
* Changes to objects returned from get() should emit itemsChanged() soBea Lam2010-09-171-29/+264
| | | | | | | | | | | that the view is updated (currently the model data changes but the view does not). In flat-model mode, get() now returns a QScriptClass-type object so that changes to the returned object are received, and for nested-model mode, the fix adds a QDeclarativeOpenMetaObject subclass and ModelNode::listIndex so that itemsChanged() can be emitted when the node data changes. Task-number: QTBUG-12363
* Make it clear that private ListModel constructor is only for workerBea Lam2010-09-171-14/+23
| | | | | agent. Also set up the worker list copy in the ListModel implementation instead of the agent.
* Remove duplicated move() implementationsBea Lam2010-09-171-34/+26
|
* Doc changesBea Lam2010-09-171-4/+4
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into 4.7David Boddie2010-09-151-1/+0
|\
| * Remove unused objectBea Lam2010-09-081-1/+0
| |
* | Doc: More work on the declarative API documentation.David Boddie2010-09-131-28/+79
|/
* Merge branch '4.7' into qmldocsDavid Boddie2010-08-271-5/+2
|\
| * Remove unused code.Michael Brasser2010-08-251-3/+0
| |
| * Fix few declarative code issues discovered by static code analysisJoona Petrell2010-08-241-2/+2
| | | | | | | | | | Task-number: Reviewed-by: Aaron Kennedy
* | Doc: Fixed incorrect use of commands to mark documentation.David Boddie2010-08-231-1/+1
|/
* qdoc: Reorganized the QML elements table to be a dictionary...Martin Smith2010-08-161-1/+3
| | | | ...and a set of functional group pages.
* Compile on SymbianMartin Jones2010-08-111-3/+9
| | | | Task-number: QTBUG-12771
* Don't destroy ListModel child list nodes.Martin Jones2010-08-111-11/+15
| | | | | | | These are owned by the root and must not be destroyed by child lists. Task-number: QTBUG-12771 Reviewed-by: Bea Lam
* Fix crash with invalid role indexesAaron Kennedy2010-07-091-0/+2
|
* Test ListElement type via type system, not string comparison.Warwick Allison2010-06-251-3/+8
| | | | | Task-number: QTBUG-11222 Reviewed-by: Aaron Kennedy
* Allow QT_TR_NOOP (as a no-op) in ListModel values.Warwick Allison2010-06-221-4/+9
| | | | Task-number: QTBUG-11403
* Minor doc fixesBea Lam2010-06-111-1/+1
|
* Doc improvements: move some example code to snippets, add screenshots,Bea Lam2010-06-091-105/+21
| | | | other minor doc fixes
* Update docs with correct property nameAlan Alpert2010-05-201-1/+1
|
* ListModel::get() shouldn't print warnings for invalid indices since itBea Lam2010-05-171-4/+1
| | | | returns undefined items for these cases anywyay.
* Restructure the examples. They are now organized into variousBea Lam2010-05-161-2/+2
| | | | | | subdirectories to make it easier to locate examples for certain features (e.g. animation) and to distinguish between different types of examples (e.g. very basic examples vs complex demo-like examples).
* ListModel::get() should return undefined if bad index specifiedBea Lam2010-05-131-10/+18
|
* Dates and variants are not considered nested objectsAaron Kennedy2010-05-131-1/+2
|
* Doc fixBea Lam2010-05-071-1/+1
| | | | Task-number: QTBUG-10458
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7Peter Yard2010-04-271-3/+2
|\
| * Emit runtime warnings through QDeclarativeEngineAaron Kennedy2010-04-191-3/+2
| | | | | | | | QTBUG-9726
* | Docs Changes to start page. Minor change to Elements doc. See also added to ↵Peter Yard2010-04-271-1/+1
|/ | | | some elements docs.
* Doc fixesBea Lam2010-04-131-4/+4
|
* Doc fixesBea Lam2010-04-121-0/+15
|
* Release ListModel's worker agent on deletion.Bea Lam2010-04-091-0/+3
|
* Disallow nested elements in ListModelAaron Kennedy2010-04-071-1/+6
| | | | QTBUG-6082
* Update #include of private headers in QtDeclarativeThiago Macieira2010-04-021-3/+3
| | | | | Always use private/. The WinSCW compiler doesn't search the current directory, for whatever reason.
* Doc fixBea Lam2010-04-011-1/+1
|
* ModelNode::setObjectValue() must update the object cache.Bea Lam2010-04-011-0/+2
| | | | Task-number: QTBUG-9509
* Fix memory leak and clean up deletion.Bea Lam2010-03-291-8/+5
|
* Remove int parameter from ListModel countChanged() to be consistentBea Lam2010-03-251-3/+3
| | | | with other classes with countChanged() signals.
* Doc: ids start with lowercaseMartin Jones2010-03-241-9/+9
|
* Don't use QScriptValueIterator to iterate over arrays.Bea Lam2010-03-181-4/+3
|
* Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7Yann Bodson2010-03-171-4/+16
|\
| * Allow enum constants as list element properties.Warwick Allison2010-03-171-4/+16
| | | | | | | | Task-number: QTBUG-5974
* | Emits itemsRemoved() in QDeclarativeListModel::remove.Yann Bodson2010-03-171-14/+16
|/
* Tests for default count(), get() values should be run on the workerBea Lam2010-03-171-1/+1
| | | | | list model instead of being ignored. Also do some cleaning up in the list model.
* Remove unneeded #include and add needed header to .priMartin Jones2010-03-161-2/+0
|
* Doc fixes.Bea Lam2010-03-161-27/+27
|
* Remove WorkerListModel and integrate its functionality into ListModel.Bea Lam2010-03-161-300/+654
| | | | Task-number: QT-2829
* Merge remote branch 'origin/master' into 4.7Thiago Macieira2010-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | Conflicts: src/corelib/kernel/qmetatype.cpp src/declarative/graphicsitems/qdeclarativeevents.cpp src/declarative/graphicsitems/qdeclarativeflickable.cpp src/declarative/graphicsitems/qdeclarativegridview.cpp src/declarative/qml/qdeclarativescript.cpp src/declarative/util/qdeclarativeanimation.cpp src/declarative/util/qdeclarativebehavior.cpp src/declarative/util/qdeclarativeeasefollow.cpp src/declarative/util/qdeclarativefontloader.cpp src/declarative/util/qdeclarativelistmodel.cpp src/declarative/util/qdeclarativespringfollow.cpp src/declarative/util/qdeclarativestategroup.cpp src/declarative/util/qdeclarativesystempalette.cpp src/declarative/util/qdeclarativetimer.cpp src/declarative/util/qmlstateoperations.cpp src/multimedia/qml/qdeclarativeaudio.cpp src/multimedia/qml/qdeclarativevideo.cpp
* Change class prefix to from QmlXXX to QDeclarativeXXX, QmlGraphicsXXX to ↵Warwick Allison2010-02-241-0/+983
QDeclarativeXXX.