[Development] Adding support for version number comparisons

Jake Petroules jake.petroules at petroules.com
Mon Jun 2 14:33:40 CEST 2014


On 2014-06-02, at 08:24 AM, Richard Moore <rich at kde.org> wrote:

> On 2 June 2014 13:12, Keith Gardner <kreios4004 at gmail.com> wrote:
> On Mon, Jun 2, 2014 at 2:36 AM, Simon Hausmann <simon.hausmann at digia.com> wrote:
> 
> I suggest a name that is more centric towards the _function_ of the class,
> comparison of different software versions.
> 
> QVersionInformation was also proposed as a name in the code review.  I don't have a problem with changing the name other than it is really long for a simple class.
> 
> 
> How about QVersionComparator?
> 
> Rich. 
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development


QVersionComparator sounds like something you'd pass to a QVersion in order to customize the comparison algorithm. QVersion is an object which represents a version; comparison is an auxiliary function to its identity.
-- 
Jake Petroules - jake.petroules at petroules.com
Chief Technology Officer - Petroules Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140602/e5d30a44/attachment.html>


More information about the Development mailing list