Source-highlight Qt Library
Qt4TextFormatterFactory.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 QT4TEXTFORMATTERFACTORY_H_
7 #define QT4TEXTFORMATTERFACTORY_H_
8 
9 #include "TextFormatterFactory.h"
10 
11 namespace srchiliteqt {
12 
18 public:
20  virtual ~Qt4TextFormatterFactory();
21 
32  virtual bool createFormatter(const string &key, const string &color,
33  const string &bgcolor, srchilite::StyleConstantsPtr styleconstants);
34 
35 };
36 
37 }
38 
39 #endif /* QT4TEXTFORMATTERFACTORY_H_ */
Definition: ColorDialog.cpp:12
virtual bool createFormatter(const string &key, const string &color, const string &bgcolor, srchilite::StyleConstantsPtr styleconstants)
Creates a formatter for the specific language element (identified by key) with the passed style param...
Definition: Qt4TextFormatterFactory.cpp:22
Specialization of FormatterFactory to create TextFormatter objects to format text in a TextEdit...
Definition: TextFormatterFactory.h:26
Implementation of TextFormatterFactory to create Qt4 TextFormatter objects to format text in a TextEd...
Definition: Qt4TextFormatterFactory.h:17