Suggesting another little improvement for KJob class

Richard Moore richmoore44 at gmail.com
Thu Feb 8 00:16:19 GMT 2007


On 2/7/07, David Faure <faure at kde.org> wrote:
> On Wednesday 07 February 2007, Ricard Marxer Piñón wrote:
> > This way you can acheive all the states without the enum.
>
> I prefer the enum. Smaller API.

And with an enum we can have something like:

UserDefinedState = 0x100

which allows for extensions by apps without changing the core API. We
can't do that otherwise.

Rich.




More information about the kde-core-devel mailing list