Add setMinFontSize(int) to KHTMLSettings

Simon Hausmann hausmann at kde.org
Sat Feb 8 01:11:31 GMT 2003


On Fri, Feb 07, 2003 at 11:14:07PM +0100, Ingo Klöcker wrote:
> I'd like to add a void setMinFontSize(int) to KHTMLSettings to allow 
> users of KHTMLPart to easily change the minimum font size. I know that 
> it's in theory possible to do this via KHTMLSettings::init(KConfig*...) 
> but we really don't want to have a full blown KHTMLSettings config 
> dialog in KMail just to be able to change one value.

I can't say anything about whether this makes sense or not, but with
regard to the implementation I wonder if it would make more sense to
pass a uint as method argument instead of an int to get rid of the > 0 
check. (yeah, this leaves out the 0 case, but well... :)

Simon




More information about the kde-core-devel mailing list