Re: [Development] Status of QtDeclarative on Windows?

2012-01-15 Thread gunnar.sletta
Hi Todd, It looks like the qwindowsglcontext.cpp file does not request a swap interval of 1 anywhere, which would mean you have to pick the option "always vsync, regardless of what application requests"-option if such a thing exists. If you did this and it makes no difference then the driver is

Re: [Development] Role names and Proxy Models

2012-01-15 Thread Stephen Kelly
On Friday, January 13, 2012 22:37:16 Johan Thelin wrote: > Hi all, > > I've been constructing a proxy model that hides multiple underlying > models. In this process, I have to translate the custom roles for each > model. E.g. the custom role enumeration for the duration of a music > track is not t

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread Thiago Macieira
On Sunday, 15 de January de 2012 20.25.17, Peter Kuemmel wrote: > Technically interesting here is the question how such a > situation cloud be managed? Using C++11 'final' would > prevent the reimplementation. But using pre C++11, the only > idea I have is to define a dummy function with a differen

Re: [Development] QLocale work

2012-01-15 Thread Thiago Macieira
On Sunday, 15 de January de 2012 23.09.35, John Layt wrote: > * A QCldrLocale is not really needed for Qt purposes, it's only needed for > anyone who wants to know what individual settings are, like KDE What would this class provide that the regular QLocale wouldn't? -- Thiago Macieira - thiago.ma

Re: [Development] Status of QtDeclarative on Windows?

2012-01-15 Thread Todd.Rose
Well it looks like the slowness I'm seeing is due to the rendering thread using all of the CPU. I tried toggling the nvidia driver settings for vsync and triple-buffering but that doesn’t change the behavior. Is there anything else I can try? Do other people see acceptable performance on Wind

Re: [Development] Removing QBool?

2012-01-15 Thread Gábor Lehel
2012/1/15 Giuseppe D'Angelo : > 2012/1/15 Gábor Lehel : >> 2012/1/7 Thiago Macieira : >>> On Saturday, 7 de January de 2012 01.03.50, David Faure wrote: Shouldn't we clean that up for Qt5 and just use a bool for the contains method  again? The Qt4 API ensures that nobody still has if (con

Re: [Development] QLocale work

2012-01-15 Thread John Layt
On Sunday 15 Jan 2012 19:04:09 John Layt wrote: > I think I'm favouring the second option as being cleaner and easier to > implement in phases. After reading more of the ICU number API and trying some things out, I now think sticking closer to the current model will actually match the ICU API b

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread Richard Moore
On Sun, Jan 15, 2012 at 7:25 PM, Peter Kuemmel wrote: > > Off topic: > >> >> There would still be silent errors for people who have reimplemented >> the createRequest method (it's virtual). >> > > Technically interesting here is the question how such a > situation cloud be managed? Using C++11 'fi

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread Peter Kuemmel
Off topic: > > There would still be silent errors for people who have reimplemented > the createRequest method (it's virtual). > Technically interesting here is the question how such a situation cloud be managed? Using C++11 'final' would prevent the reimplementation. But using pre C++11, th

[Development] QLocale work

2012-01-15 Thread John Layt
Hi, Apologies for an extended absence, life got rather busy. I've now pushed the first of my QDate changes for review, but the QLocale stuff now needs more focus as the next step. Discussions back in November around QLocale resulted in a decision to move to using ICU as the backend for all lo

Re: [Development] Removing QBool?

2012-01-15 Thread Giuseppe D'Angelo
2012/1/15 Gábor Lehel : > 2012/1/7 Thiago Macieira : >> On Saturday, 7 de January de 2012 01.03.50, David Faure wrote: >>> Shouldn't we clean that up for Qt5 and just use a bool for the contains >>> method  again? The Qt4 API ensures that nobody still has if (contains()==2) >>> in their code anyway

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread lars.knoll
On 1/15/12 5:08 PM, "ext Richard Moore" wrote: >On Sun, Jan 15, 2012 at 2:25 PM, Peter Kümmel wrote: >> But to think first about what "createRequest" really does is a good >>idea: >> It not only creates a request, it also sends it, so why not rename it to >> 'doRequest' or something similar whic

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread Richard Moore
On Sun, Jan 15, 2012 at 2:25 PM, Peter Kümmel wrote: > But to think first about what "createRequest" really does is a good idea: > It not only creates a request, it also sends it, so why not rename it to > 'doRequest' or something similar which is different to 'createReply' > which is as misleadin

Re: [Development] Removing QBool?

2012-01-15 Thread Gábor Lehel
2012/1/7 Thiago Macieira : > On Saturday, 7 de January de 2012 01.03.50, David Faure wrote: >> Shouldn't we clean that up for Qt5 and just use a bool for the contains >> method  again? The Qt4 API ensures that nobody still has if (contains()==2) >> in their code anyway. > > I think it should be gon

Re: [Development] fixing name of QNetworkAccessManager::createRequest

2012-01-15 Thread Peter Kümmel
On 13.01.2012 14:10, Mathias Hasselmann wrote: > Am Freitag, den 13.01.2012, 13:00 + schrieb Giuseppe D'Angelo: >> On 13 January 2012 12:32, Mathias Hasselmann wrote: what about the slightly more garden-variety approach of deprecating the old one and introducing a new method? >>> >>>