Why is Sonnet::Highlighter::highlightBlock() is public rather the protected?

Richard Dale richard_dale at tipitina.demon.co.uk
Mon Jul 9 21:01:09 BST 2007


The QSyntaxHighlighter::highlightBlock() method is protected, but 
Sonnet::Highlighter::highlightBlock() is public. Is there any need for this, 
and is it ok to change it to protected. kdelibs compiles fine with the 
change, and the method doesn't seem to need to be public to me.

-- Richad




More information about the kde-core-devel mailing list