How to Access device calendar entries

  • I am very new to Qt developer environment.
    As a start-up application, i wanted to develop a program which can show calendar schedules for present day.
    I used Organizer Api and sample code snippets present in the

    when i run this program i am getting 0 entries, although there few number events and todo's (with the following code).

    QList<QOrganizerItem> entries =
    defaultManager.items(QDateTime(QDate(2011, 11, 11), QTime(0, 0, 0)),
    QDateTime(QDate(2011, 11, 11), QTime(23, 59, 59)));

    please let me know what additions i need do to achieve this.

    I am using Nokia C7 for this app.

    Thanks in advamce--

    [edit: please add @ code tags, Eddy]

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.