Source-highlight Qt Library
Qt4SourceHighlightStyleGenerator.h
1 /*
2  * Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
3  * License: See COPYING file that comes with this distribution
4  */
5 
6 #ifndef QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_
7 #define QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_
8 
9 #include <QStringList>
10 #include <QList>
11 
12 #include "Qt4TextFormatter.h"
13 
14 namespace srchiliteqt {
15 
21 public:
28  static QStringList createStyleContents(
29  QList<Qt4TextFormatter *> &formatters, const QString &bgColor = "");
30 };
31 
32 }
33 
34 #endif /* QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_ */
static QStringList createStyleContents(QList< Qt4TextFormatter * > &formatters, const QString &bgColor="")
Generates a string list given a list of Qt4TextFormatter.
Definition: Qt4SourceHighlightStyleGenerator.cpp:13
Provides functionalities to generate the contents for a source-highlight style file.
Definition: Qt4SourceHighlightStyleGenerator.h:20
Definition: ColorDialog.cpp:12