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

2014-09-24 Thread Simon Hausmann
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

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

2014-09-24 Thread Thiago Macieira
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

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

2014-09-24 Thread Lorn Potter
On 24 Sep 2014, at 3:57 pm, Simon Hausmann wrote: > > I wonder if the"int interface" indexed API is tedious to use. Say you do > manage to get a QNetworkInterface object from QtNetwork, then before you can > call for example > >QString imsi(int interface) const; > > you have to retrieve

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

2014-09-24 Thread Blasche Alexander
> >From a 1 feet Qt as a product point of view, it's not evident why this > >API > belongs into a separate module instead of simply into the Qt network module. That's a historical reason and Qt's inability to accept such a contribution at the time when such changes were needed. This doesn't

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

2014-09-23 Thread Simon Hausmann
On Wednesday, September 24, 2014 11:02:26 AM Lorn Potter wrote: > Hi *, > > While looking into a bug > https://bugreports.qt-project.org/browse/QTBUG-41283 > > It reminded me that I am not happy with NetworkInfo since it got ported from > QtMobility to Qt 5. > > > *Note* QSystemInfo is not offi

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

2014-09-23 Thread Chris Adams
Hi Lorn, In regards to the publish/subscribe and serviceframework bits, I wonder what the plan is with those. How much overlap between them and Replicant is there? Perhaps Brett could quickly sum up the differences between the pub/sub module and the Replicant framework, and whether Replicant off

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

2014-09-23 Thread Lorn Potter
Hi *, While looking into a bug https://bugreports.qt-project.org/browse/QTBUG-41283 It reminded me that I am not happy with NetworkInfo since it got ported from QtMobility to Qt 5. *Note* QSystemInfo is not officially supported API. Since I am maintainer for it and it's not "released", I am g