~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to EventListModel.qml

  • Committer: Frank Mertens
  • Date: 2013-03-22 01:32:02 UTC
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: frank@cyblogic.de-20130322013202-19s6th508vgo971t
Added more complex test case in preparation for integration of the diary view.

To run the tests and load the test data run 'qmlscene calendarTest.qml' once.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
        model.clear()
17
17
        DataService.getEvents(t0, t1, model)
18
18
        console.log("termStart, t0, t1, count =", termStart, t0, t1, count)
 
19
        // for (var i = 0; i < model.count; ++i)
 
20
        //     DataService.printEvent(model.get(i))
19
21
    }
20
22
    Component.onCompleted: {
21
23
        reload()