/usr/include/srchiliteqt/Qt3TextFormatterFactory.h is in libsource-highlight-qt4-dev 0.2.2-0ubuntu7.
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 35 36 37 38 39 | /*
* Copyright (C) 2008-2010 Lorenzo Bettini, http://www.lorenzobettini.it
* License: See COPYING file that comes with this distribution
*/
#ifndef QT3TEXTFORMATTERFACTORY_H_
#define QT3TEXTFORMATTERFACTORY_H_
#include "TextFormatterFactory.h"
namespace srchiliteqt {
/**
* Implementation of TextFormatterFactory to create Qt3 TextFormatter objects
* to format text in a TextEdit.
*/
class Qt3TextFormatterFactory: public TextFormatterFactory {
public:
Qt3TextFormatterFactory();
virtual ~Qt3TextFormatterFactory();
/**
* Creates a formatter for the specific language element (identified by
* key) with the passed style parameters
*
* @param key
* @param color
* @param bgcolor
* @param styleconstants
* @return false if a formatter for the specific key is already present
*/
virtual bool createFormatter(const string &key, const string &color,
const string &bgcolor, srchilite::StyleConstantsPtr styleconstants);
};
}
#endif /* QT3TEXTFORMATTERFACTORY_H_ */
|