staikos at kde.org
Thu Sep 9 21:39:32 BST 2004
On Thursday 09 September 2004 16:36, David Faure wrote:
> > Would it be a good idea to also make the public API use enums, instead of
> > a number of bool functions?
> > For example, enabling a feature would be done like this:
> > setCapabilities( KFindDialog::BackwardsFind | capabilities() );
> That works for app-capabilities, but when it comes to e.g. "I have a
> selection", "now I don't have a selection"... those settings change over
> time, so it's easier with a bool setter IMHO.
It's also easier for JS access if things can easily be made properties with
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the kde-core-devel