On Mon, Jun 2, 2014 at 7:33 AM, Jake Petroules <jake.petrou...@petroules.com > wrote:
> On 2014-06-02, at 08:24 AM, Richard Moore <r...@kde.org> wrote: > > On 2 June 2014 13:12, Keith Gardner <kreios4...@gmail.com> wrote: > >> On Mon, Jun 2, 2014 at 2:36 AM, Simon Hausmann <simon.hausm...@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? > > 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. > I agree with Jake. The class is a container first and then it has comparison operators.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development