On Monday, 4 March 2013 01:15:45 CEST, Ahmed Ibrahim wrote:
I've managed to build the Trojita libs and APIs using BB's tool chain and I can run now a simple application that uses some of Trojita classes.
Congratulations, Ahmed :), looking forward to seeing the port.
I've seen that in Trojita's Harmattan version there is a class called the ImapAccess that wraps the message model and other models like the MailboxModel. So I thought to use it in the QML of the BB's version but I found that I could not use it as there are attributes like Username and Password are not declared Q_INVOKABLE.
The ImapAccess is indeed intended for exactly this purpose, and works well with QML. You're not supposed to call the username() method, but instead access the username property. I'm not aware of any specialities in BB's QML implementation -- could you please show us some code you're using here? Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/
