On Mon, Jun 2, 2014 at 7:33 AM, Jake Petroules <[email protected] > wrote:
> On 2014-06-02, at 08:24 AM, Richard Moore <[email protected]> wrote: > > On 2 June 2014 13:12, Keith Gardner <[email protected]> wrote: > >> On Mon, Jun 2, 2014 at 2:36 AM, Simon Hausmann <[email protected]> >> 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 [email protected] http://lists.qt-project.org/mailman/listinfo/development
