vcsbase: style

Change-Id: I139d9d46605383f03215c80bd9e9fd965021b435
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
hjk
2012-01-07 03:35:54 +01:00
parent bf197d7a12
commit 2eadc22023
38 changed files with 216 additions and 241 deletions

View File

@@ -42,28 +42,23 @@ class QRegExp;
class QTextCharFormat;
QT_END_NAMESPACE
namespace Core {
class ICore;
}
namespace TextEditor {
class FontSettingsPage;
}
namespace Core { class ICore; }
namespace TextEditor { class FontSettingsPage; }
namespace VCSBase {
namespace Internal {
class DiffHighlighterPrivate;
} // namespace Internal
namespace Internal { class DiffHighlighterPrivate; }
class VCSBASE_EXPORT DiffHighlighter : public TextEditor::SyntaxHighlighter
{
Q_OBJECT
public:
explicit DiffHighlighter(const QRegExp &filePattern,
QTextDocument *document = 0);
virtual ~DiffHighlighter();
~DiffHighlighter();
virtual void highlightBlock(const QString &text);
void highlightBlock(const QString &text);
// Set formats from a sequence of type QTextCharFormat
void setFormats(const QVector<QTextCharFormat> &s);