Thanks Mike,

QNetworkAccessManager did the trick and it really is convenient.

On Sun, Mar 20, 2016 at 8:52 PM, Michael Terry <michael.te...@canonical.com>
wrote:

> On Sun, Mar 20, 2016 at 6:25 AM, Omer Akram <om2...@ubuntu.com> wrote:
>
>> Perhaps we could provide some sophisticated API for the developers so
>> that they don't really have to handle threading directly, atleast for
>> simpler operations. (If there already is please enlighten me).
>>
>
> For network access, there is QNetworkAccessManager [1], which makes async
> requests on its own internal thread and signals the main thread when it's
> done.
>
> [1] http://doc.qt.io/qt-5/qnetworkaccessmanager.html
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to     : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp

Reply via email to