~mihirsoni/ubuntu-calendar-app/dateSelectNewEventTest

« back to all changes in this revision

Viewing changes to EventListModel.qml

  • Committer: Akiva Avraham
  • Date: 2014-09-20 10:45:35 UTC
  • mto: This revision was merged to the branch mainline in revision 464.
  • Revision ID: akiva@linux.com-20140920104535-cxorhvj4mptugici
Updated library imports to qtquick-2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
 */
18
 
import QtQuick 2.0
 
18
import QtQuick 2.3
19
19
import QtOrganizer 5.0
20
20
 
21
21
OrganizerModel {
41
41
    }
42
42
 
43
43
    function startLoadingTimer() {
44
 
        var newObject = Qt.createQmlObject("import QtQuick 2.0; Timer {interval: 1000; running: true; repeat: false;}",
 
44
        var newObject = Qt.createQmlObject("import QtQuick 2.3; Timer {interval: 1000; running: true; repeat: false;}",
45
45
            eventModel, "EventListMode.qml");
46
46
        newObject.onTriggered.connect( function(){
47
47
            var items = getItems(eventModel.startPeriod, eventModel.endPeriod);