Hi,

I'm trying to export contacts into a vcard file, but it seems doesn't work
yet.

First I'm loading a list of contacts with these lines.


property string urlVCard: "../contents/example.vcf"
>

ContactModel {
>         id: contactModel
>
>         Component.onCompleted: {
>             if (manager == "memory")
>                 contactModel.importContacts(Qt.resolvedUrl(urlVCard));
>         }
>
>     } // End of ContactModel  id: contacts
>

After added or removed some contacts, I want to save my modelContact into
the example.vcf file.
All works excepted this line.


> contactModel.exportContacts(Qt.resolvedUrl(urlVCard));
>

My example.vcf is broken after that.

Am I using the exportContact() correctly ? Maybe it's a bug, but I didn't
fine a problem close to mine on http://bugreports.qt.nokia.com.

Thanks



-----------------------------------------------------
Thomas PABST
[email protected]
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to