[Development] call for comments/review QSystemInfo::NetworkInfo API

Thiago Macieira thiago.macieira at intel.com
Wed Sep 24 17:15:45 CEST 2014


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list