/usr/include/srchiliteqt/Qt4SourceHighlightStyleGenerator.h is in libsource-highlight-qt4-dev 0.2.2-0ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | /*
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
* License: See COPYING file that comes with this distribution
*/
#ifndef QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_
#define QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_
#include <QStringList>
#include <QList>
#include "Qt4TextFormatter.h"
namespace srchiliteqt {
/**
* Provides functionalities to generate the contents for a source-highlight
* style file.
*/
class Qt4SourceHighlightStyleGenerator {
public:
/**
* Generates a string list given a list of Qt4TextFormatter
* @param formatters a list of Qt4TextFormatter
* @param bgColor the background color for the document
* @return a string list corresponding to the style file contents
*/
static QStringList createStyleContents(
QList<Qt4TextFormatter *> &formatters, const QString &bgColor = "");
};
}
#endif /* QT4SOURCEHIGHLIGHTSTYLEGENERATOR_H_ */
|