Re: KMessageBox return values

2013-10-02 Thread Aurélien Gâteau
On Wednesday 02 October 2013 15:39:20 Aurélien Gâteau wrote: > Hi, > > Working on KMessageBox namespace, I noticed all methods returns int, despite > the namespace declaring a ButtonCode enum. I gave a try at changing the > type of the return values to KMessageBox::ButtonCode. This would bring > b

KMessageBox return values

2013-10-02 Thread Aurélien Gâteau
Hi, Working on KMessageBox namespace, I noticed all methods returns int, despite the namespace declaring a ButtonCode enum. I gave a try at changing the type of the return values to KMessageBox::ButtonCode. This would bring better type safety, is still source-compatible (existing code which use