Re: [Development] QtDriveInfo module in Playground

2013-03-04 Thread Knoll Lars
In general, I think we need to have another look at Qt SystemInfo for 5.2, and get this all sorted. The split between what's in Qt Core and what's in system info is a bit arbitrary, and it would be good to get this sorted and cleared. Cheers, Lars On 3/1/13 11:28 PM, Thiago Macieira

Re: [Development] QtDriveInfo module in Playground

2013-03-04 Thread Konstantin Ritt
...and no one has answered to the original question of the topic ;) Konstantin 2013/3/4 Knoll Lars lars.kn...@digia.com: In general, I think we need to have another look at Qt SystemInfo for 5.2, and get this all sorted. The split between what's in Qt Core and what's in system info is a bit

Re: [Development] QtDriveInfo module in Playground

2013-03-04 Thread Laszlo Papp
On Mon, Mar 4, 2013 at 11:11 AM, Konstantin Ritt ritt...@gmail.com wrote: ...and no one has answered to the original question of the topic ;) Well, the original request for a playground module does not make any sense to me because it is either QtCore or QtSystems material. I guess Thiago and

Re: [Development] QtDriveInfo module in Playground

2013-03-02 Thread Laszlo Papp
On Fri, Mar 1, 2013 at 3:50 PM, Thiago Macieira thiago.macie...@intel.comwrote: On sexta-feira, 1 de março de 2013 10.52.41, Olivier Goffart wrote: qdisplayinfo_linux.cpp:50 is: Q_GLOBAL_STATIC_WITH_ARGS(const QString, BACKLIGHT_SYSFS_PATH, (QStringLiteral(/sys/class/backlight/))) Is

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Thiago Macieira
On sexta-feira, 1 de março de 2013 11.38.54, Иван Комиссаров wrote: Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a system volumes - like available size, filesystem, filesystem flags and so on. Right

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Laszlo Papp
On Fri, Mar 1, 2013 at 8:12 AM, Thiago Macieira thiago.macie...@intel.comwrote: On sexta-feira, 1 de março de 2013 11.38.54, Иван Комиссаров wrote: Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Qi Liang
On 2013-3-1, at 上午9:12, Thiago Macieira wrote: On sexta-feira, 1 de março de 2013 11.38.54, Иван Комиссаров wrote: Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a system volumes - like available size,

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread André Somers
Op 1-3-2013 8:38, Иван Комиссаров schreef: Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a system volumes - like available size, filesystem, filesystem flags and so on. Right now, repo is located here

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Иван Комиссаров
Yes, it still exists somewhere in Qt5 code, but it's not maintained and provides much less functionality compared to QtDriveInfo. Also, it has flawed API, in my opinion:) For example, it's hard to implement drive comparison (i.e. if 2 files are on the same drive or not) using current

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Laszlo Papp
On Fri, Mar 1, 2013 at 8:42 AM, André Somers an...@familiesomers.nl wrote: Wasn't there already similar functionality in QtMobility? QSystemStorageInfo seems to provide similar functionality? Or did all that get scrapped in Qt 5? Ah, you are both right:

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Иван Комиссаров
I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a DBus in Linux; however info provider doesn't require that. Also, monitor requires internal thread on Mac. My point is that in many cases,

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Olivier Goffart
On Friday 01 March 2013 08:51:16 Laszlo Papp wrote: qdisplayinfo_linux.cpp: In function '{anonymous}::Q_QGS_BACKLIGHT_SYSFS_PATH::Type* {anonymous}::Q_QGS_BACKLIGHT_SYSFS_PATH::innerFunction()': qdisplayinfo_linux.cpp:50:1: error: lambda-expression in unevaluated context

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread André Somers
Op 1-3-2013 10:22, ?? schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a DBus in Linux; however info provider doesn't require that. Also, monitor requires internal

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Konstantin Ritt
2013/3/1 André Somers an...@familiesomers.nl: Op 1-3-2013 10:22, Иван Комиссаров schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a DBus in Linux; however info provider doesn't

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread André Somers
Op 1-3-2013 11:52, Konstantin Ritt schreef: 2013/3/1 André Somers an...@familiesomers.nl: Op 1-3-2013 10:22, Иван Комиссаров schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Konstantin Ritt
2013/3/1 Иван Комиссаров abba...@gmail.com: 01.03.2013, в 13:54, André Somers an...@familiesomers.nl написал(а): Op 1-3-2013 10:22, Иван Комиссаров schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Thiago Macieira
On sexta-feira, 1 de março de 2013 10.52.41, Olivier Goffart wrote: qdisplayinfo_linux.cpp:50 is: Q_GLOBAL_STATIC_WITH_ARGS(const QString, BACKLIGHT_SYSFS_PATH, (QStringLiteral(/sys/class/backlight/))) Is that something we should fix in

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Lorn Potter
On 01/03/13 18:42, André Somers wrote: Op 1-3-2013 8:38, Иван Комиссаров schreef: Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a system volumes - like available size, filesystem, filesystem flags and

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Lorn Potter
On 01/03/13 18:50, Иван Комиссаров wrote: Yes, it still exists somewhere in Qt5 code, but it's not maintained and provides much less functionality compared to QtDriveInfo. wrong. it is maintained. by me. or rather, has a maintainer. I haven't seen any bug reports or code reviews for it.

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Thiago Macieira
On sábado, 2 de março de 2013 07.51.04, Lorn Potter wrote: Wasn't there already similar functionality in QtMobility? QSystemStorageInfo seems to provide similar functionality? Yes it does. Or did all that get scrapped in Qt 5? It's there in qtsystems, which is a hidden module. As I

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Lorn Potter
On 01/03/13 19:54, André Somers wrote: Op 1-3-2013 10:22, Иван Комиссаров schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but monitor should depend on a DBus in Linux; however info provider doesn't require

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Lorn Potter
On 01/03/13 20:50, Иван Комиссаров wrote: 01.03.2013, в 13:54, André Somers an...@familiesomers.nl написал(а): Op 1-3-2013 10:22, Иван Комиссаров schreef: I don't think it's a good idea to try to fix QStorageInfo. The main argument is that QStorageInfo is a monitor+info provider, but

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Lorn Potter
On 02/03/13 07:59, Thiago Macieira wrote: On sábado, 2 de março de 2013 07.51.04, Lorn Potter wrote: Wasn't there already similar functionality in QtMobility? QSystemStorageInfo seems to provide similar functionality? Yes it does. Or did all that get scrapped in Qt 5? It's there in

Re: [Development] QtDriveInfo module in Playground

2013-03-01 Thread Thiago Macieira
On sábado, 2 de março de 2013 08.20.35, Lorn Potter wrote: systeminfo works on all platforms, mobile or not. I want the QtCore solution to work on all platforms too. I just want less emphasis on mobile (and especially Symbian-inspired) features and more focus on general use-cases. The udisks

[Development] QtDriveInfo module in Playground

2013-02-28 Thread Иван Комиссаров
Hello, i would like to request a repository in a playground for my QDriveInfo module. This class allows to retrieve information about a system volumes - like available size, filesystem, filesystem flags and so on. Right now, repo is located here https://gitorious.org/qdrive Also, i'm not sure