On Sunday, 14 April 2013 21:53:03 CEST, Ahmed Ibrahim wrote:
Hope that you are okay. I wanted to ask you since you've told me that you are going to receive a Playbook. Did you attempt to try Trojita's Imap library under the BB platform ?
Hi Ahmed, I've received it, but so far have not had any time to start the actual development yet.
Another thing after I've set the username and password I tried to call m_imapModel->rowCount(QModelIndex()); I received a two dataChanged signals afterwards no other singals are emitted to notify me that other things in the model has changed.
Strange. Are you sure you're listening for rowsAboutToBeInserted and rowsInserted? What about the debug logging -- what does it show? Please let's bring this to the trojita ML, I prefer to have a development discussion happen in open.
The question is how can I retrieve data from the QModelIndex. I mean which roles should I look for. Also how can I ask for the mailboxes then the messages inside each mailbox.
That should be visible in the existing QML delegates. The supported roles are enumerated in each model's setRoleNames()/roleNames(). With kind regards, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
