KRandomSequence's methods constness and naming issues

Dmitry Suzdalev dimsuz at gmail.com
Fri Dec 15 13:29:13 GMT 2006


2006/12/15, Robert Knight <robertknight at gmail.com>:
> Since these are values from a sequence, perhaps nextTypeName() would be
> best.
>
> eg.  nextBool() , nextInt().
Hmm... next? next to what? :)
How about perhaps generateBool(), generateInt() etc?

> > Can this change somehow break compilation of other modules?
>
> I don't think so.  I think it will change the method signatures ( and
> therefore break the ABI ), so a recompile will be needed - but if you
> are doing this in KDE 4 kdegames this isn't a problem.
This is a class from kdelibs/kdecore. That's why I was asking :).
kdelibs' audience is quite huge that's why I prefer to be careful :).

Dmitry.




More information about the kde-core-devel mailing list