On Wednesday, September 24, 2014 08:15:45 AM Thiago Macieira wrote: > On Wednesday 24 September 2014 20:08:28 Lorn Potter wrote: > > > you have to retrieve the index() from the network interface first. It > > > feels like a very procedural API. > > > > Yes, it is tedious and a bit odd to me, and is one thing I do not like > > about it. A lot of those don't have anything to do with any particular > > network interface. > > Probably for the reason Alex brought up: QML. It's easier to deal with > integer indexes in QML than a QNetworkInterface object.
Why is that? Besides that it's possible to make a QObject wrapper, I'd think QNetworkInterface would be a candidate for Olivier's Q_GADGET work :) Simon _______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
