Re: [Development] QString behavior change

2015-07-31 Thread Kobus Jaroslaw
If you say not to differentiate empty and null states, some questions arise: 1) Why we have isNull and isEmpty at the same time? 2) Why their implementations are different? 3) What would be the advice on what to use in general: isNull of isEmpty? Jarek

Re: [Development] [Interest] Direct-lookup translation, even for English (was Re: get english translation)

2014-09-03 Thread Kobus Jaroslaw
Actually, some of the i18n features of Qt _requires_ you to provide an English translation. This is the case for the plural forms, where the engineer typically writes. tr(Found %n item(s), 0, m_numberOfItemsFound); And Qt will pick the singular/plural translation (that came from the

Re: [Development] Adding support for version number comparisons

2014-07-11 Thread Kobus Jaroslaw
___ From: Keith Gardner [kreios4...@gmail.com] Sent: 11 July 2014 14:34 To: Kobus Jaroslaw Cc: development@qt-project.org Subject: Re: [Development] Adding support for version number comparisons On Thu, Jul 10, 2014 at 8:47 AM, Kobus Jaroslaw

Re: [Development] Adding support for version number comparisons

2014-07-10 Thread Kobus Jaroslaw
Hi All, With the current state of QVersion (patchset 35) I see the following issues: 1. operator() doesn't take the suffix into account (mentioned below) 2. There is no handling of sub version (you cannot differentiate 5.0.0, 5.0 and 5 - they are all equal) The idea which could resolve these

Re: [Development] Adding support for version number comparisons

2014-07-10 Thread Kobus Jaroslaw
Just looking at the topic of that thread, I suggest to name it: QVersionNubmer. QVersion may suggest some more, like description of the version or provide an info about different set of features. From: