Source-highlight Qt Library
srchiliteqt::Qt4SourceHighlightStyleGenerator Class Reference

Provides functionalities to generate the contents for a source-highlight style file. More...

#include <Qt4SourceHighlightStyleGenerator.h>

Static Public Member Functions

static QStringList createStyleContents (QList< Qt4TextFormatter * > &formatters, const QString &bgColor="")
 Generates a string list given a list of Qt4TextFormatter.

Detailed Description

Provides functionalities to generate the contents for a source-highlight style file.

Member Function Documentation

QStringList srchiliteqt::Qt4SourceHighlightStyleGenerator::createStyleContents ( QList< Qt4TextFormatter * > &  formatters,
const QString &  bgColor = "" 
)
static

Generates a string list given a list of Qt4TextFormatter.

Parameters
formattersa list of Qt4TextFormatter
bgColorthe background color for the document
Returns
a string list corresponding to the style file contents

The documentation for this class was generated from the following files: