HighlightInterface

Anders Lund anders at alweb.dk
Wed Oct 3 12:54:48 BST 2007


On Wednesday 03 October 2007, Christoph Cullmann wrote:
> Am Mittwoch, 3. Oktober 2007 10:29:30 schrieb Thomas Zander:
> > > virtual QString highlightSection( QString highlightName ) = 0;
> >
> > highlightName should be a const ref.
>
> I would be ok with a function
>
> virtual QString highlightingModeSection (const QString &name) = 0;

Returning the section name of highlight with *name*

> but in addition, a
>
> virtual QString modeSection (const QString &name) = 0;
>
> should be added, too, to have the section of modes available, too.

What is the difference between the two?

-- 
Anders

www: http://www.alweb.dk
jabber: anderslund at jabber.dk




More information about the kde-core-devel mailing list