QtStyleCodeFormatter Class

(QmlJS::QtStyleCodeFormatter)

Public Functions

Protected Functions

void adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const override

Reimplemented Protected Functions

virtual void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const override

Member Function Documentation

QtStyleCodeFormatter::QtStyleCodeFormatter()

Default constructs an instance of QtStyleCodeFormatter.

[protected] void QtStyleCodeFormatter::adjustIndent(const QList<QmlJS::Token> &tokens, int lexerState, int *indentDepth) const

[override virtual protected] void QtStyleCodeFormatter::onEnter(int newState, int *indentDepth, int *savedIndentDepth) const

void QtStyleCodeFormatter::setIndentSize(int size)