November 11, 2011

Raghava.n Raghava.n
Lab Rat
1 posts

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 http://doc.qt.nokia.com/qtmobility-1.2/organizer.html.

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

  1.  QList<QOrganizerItem> entries =
  2.      defaultManager.items(QDateTime(QDate(2011, 11, 11), QTime(0, 0, 0)),
  3.                           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]

0 replies

 
  ‹‹ Is it possible to run QAudioOutput in a different thread than the main thread?      How to capture foreground events? ››

You must log in to post a reply. Not a member yet? Register here!