Hi Artem,
Not sure if this is the best way, but you can connect to
QNetworkConfigurationManager::onlineStateChanged signal. This is what I
did in YTPlayer and it works well enough. You can see it in
https://github.com/tworaz/sailfish-ytplayer/blob/master/src/YTNetworkManager.cpp.
Based on that you
ptw
> Hey,
>
> 2014-07-17 23:05 GMT+02:00 Piotr Tworek :
>> Is there a way to lock application screen orientation to landscape
>> directly from Qt/C++ code? I know it's possible from QML, but I can't
>> find any docs how the same can be done from C++.
>
Hi,
Is there a way to lock application screen orientation to landscape
directly from Qt/C++ code? I know it's possible from QML, but I can't
find any docs how the same can be done from C++.
/ptw
___
SailfishOS.org Devel mailing list
To unsubscribe, plea
Hi,
It's probably not a good idea to ignore https verification errors in
your app. Still, if you insist on doing it you could probably subclass
QQmlNetworkAccessManagerFactory and override it's create method. This
should allow you to create a custom QNetworkAccessManager to be used by
QML engine.
bour qml import restrictions.
/ptw
> Thanks for the clarification. :-)
>
> Can you give me a hint, how this could be done?
>
>
> Am 05.07.2014 23:06, schrieb Piotr Tworek:
>> It's not forbidden however to ship your own copy of
>> nemo-qml-plugin-notifications as pa
It's not forbidden however to ship your own copy of
nemo-qml-plugin-notifications as part of your app :)
> Be aware, that nemomobile notifications API ist not allowed in harbour
> at the moment.
>
> Am 29.06.2014 17:54, schrieb Jonni Rainisto:
>> https://github.com/nemomobile/mlite/blob/master/src