KRandomSequence's methods constness and naming issues

Dmitry Suzdalev dimsuz at gmail.com
Fri Dec 15 11:49:31 GMT 2006


Hi!

I've seen a lot of use of KRandomSequence in kdegames, but today I
found that it's getters aren't const.
It came as a surprise :).

Here's a quick patch that fixes this.

Can I commit it?
Can this change somehow break compilation of other modules? I think it
can't, am I right? :)

Also, perhaps a better methods naming would be good.
Didn't the style guidelines state that there's no need in 'get' prefix
for getters and that method names shouldn't start with a  capital
letter?

Although I'm not sure what better names to propose. Anyone?

Cheers,
Dmitry.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: krs-constness.diff
Type: text/x-diff
Size: 2279 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20061215/6c3362e1/attachment.diff>


More information about the kde-core-devel mailing list