#include <qqmlformatoptions_p.h>
|
| enum | Settings {
UseTabs = 0
, IndentWidth
, MaxColumnWidth
, NormalizeOrder
,
NewlineType
, ObjectsSpacing
, FunctionsSpacing
, SortImports
,
SingleLineEmptyObjects
, SemicolonRule
, SettingsFile
, SettingsCount
} |
| using | LineEndings = QQmlJS::Dom::LineWriterOptions::LineEndings |
| using | AttributesSequence = QQmlJS::Dom::LineWriterOptions::AttributesSequence |
Definition at line 36 of file qqmlformatoptions_p.h.
◆ AttributesSequence
◆ LineEndings
◆ Settings
| Enumerator |
|---|
| UseTabs | |
| IndentWidth | |
| MaxColumnWidth | |
| NormalizeOrder | |
| NewlineType | |
| ObjectsSpacing | |
| FunctionsSpacing | |
| SortImports | |
| SingleLineEmptyObjects | |
| SemicolonRule | |
| SettingsFile | |
| SettingsCount | |
Definition at line 148 of file qqmlformatoptions_p.h.
◆ QQmlFormatOptions()
| QQmlFormatOptions::QQmlFormatOptions |
( |
| ) |
|
◆ addError()
| void QQmlFormatOptions::addError |
( |
const QString & | newError | ) |
|
|
inline |
◆ applySettings()
Definition at line 81 of file qqmlformatoptions.cpp.
References FunctionsSpacing, IndentWidth, MaxColumnWidth, NewlineType, NormalizeOrder, ObjectsSpacing, SemicolonRule, setFunctionsSpacing(), setIndentWidth(), setMaxColumnWidth(), setNormalizeEnabled(), setObjectsSpacing(), setSingleLineEmptyObjects(), setSortImports(), setTabsEnabled(), SingleLineEmptyObjects, SortImports, and UseTabs.
Referenced by optionsForFile().
◆ arguments()
◆ buildCommandLineOptions()
Definition at line 142 of file qqmlformatoptions.cpp.
References FunctionsSpacing, IndentWidth, MaxColumnWidth, NewlineType, NormalizeOrder, ObjectsSpacing, SemicolonRule, setDryRun(), setFunctionsSpacing(), setIndentWidth(), setMaxColumnWidth(), setNormalizeEnabled(), setObjectsSpacing(), setOutputOptionsEnabled(), setSingleLineEmptyObjects(), setSortImports(), setTabsEnabled(), SettingsFile, setWriteDefaultSettingsEnabled(), SingleLineEmptyObjects, SortImports, and UseTabs.
◆ detectLineEndings()
◆ dryRun()
| bool QQmlFormatOptions::dryRun |
( |
| ) |
const |
|
inline |
◆ errors()
◆ files()
◆ forceEnabled()
| bool QQmlFormatOptions::forceEnabled |
( |
| ) |
const |
|
inline |
◆ functionsSpacing()
| bool QQmlFormatOptions::functionsSpacing |
( |
| ) |
const |
|
inline |
◆ ignoreSettingsEnabled()
| bool QQmlFormatOptions::ignoreSettingsEnabled |
( |
| ) |
const |
|
inline |
◆ indentWidth()
| int QQmlFormatOptions::indentWidth |
( |
| ) |
const |
|
inline |
◆ indentWidthSet()
| bool QQmlFormatOptions::indentWidthSet |
( |
| ) |
const |
|
inline |
◆ isInplace()
| bool QQmlFormatOptions::isInplace |
( |
| ) |
const |
|
inline |
◆ isMaxColumnWidthSet()
| bool QQmlFormatOptions::isMaxColumnWidthSet |
( |
| ) |
const |
|
inline |
◆ isValid()
| bool QQmlFormatOptions::isValid |
( |
| ) |
const |
|
inline |
◆ isVerbose()
| bool QQmlFormatOptions::isVerbose |
( |
| ) |
const |
|
inline |
◆ lineEndings()
◆ maxColumnWidth()
| int QQmlFormatOptions::maxColumnWidth |
( |
| ) |
const |
|
inline |
◆ newline()
◆ normalizeEnabled()
| bool QQmlFormatOptions::normalizeEnabled |
( |
| ) |
const |
|
inline |
◆ objectsSpacing()
| bool QQmlFormatOptions::objectsSpacing |
( |
| ) |
const |
|
inline |
◆ optionsForCode()
◆ optionsForFile()
◆ outputOptionsEnabled()
| bool QQmlFormatOptions::outputOptionsEnabled |
( |
| ) |
const |
|
inline |
◆ parseEndings()
◆ semicolonRule()
◆ setArguments()
◆ setDryRun()
| void QQmlFormatOptions::setDryRun |
( |
bool | newDryRun | ) |
|
|
inline |
◆ setFiles()
◆ setForceEnabled()
| void QQmlFormatOptions::setForceEnabled |
( |
bool | newForce | ) |
|
|
inline |
◆ setFunctionsSpacing()
| void QQmlFormatOptions::setFunctionsSpacing |
( |
bool | spacing | ) |
|
|
inline |
◆ setIgnoreSettingsEnabled()
| void QQmlFormatOptions::setIgnoreSettingsEnabled |
( |
bool | newIgnoreSettings | ) |
|
|
inline |
◆ setIndentWidth()
| void QQmlFormatOptions::setIndentWidth |
( |
int | width | ) |
|
|
inline |
◆ setIndentWidthSet()
| void QQmlFormatOptions::setIndentWidthSet |
( |
bool | newIndentWidthSet | ) |
|
|
inline |
◆ setIsInplace()
| void QQmlFormatOptions::setIsInplace |
( |
bool | newInplace | ) |
|
|
inline |
◆ setIsVerbose()
| void QQmlFormatOptions::setIsVerbose |
( |
bool | newVerbose | ) |
|
|
inline |
◆ setMaxColumnWidth()
| void QQmlFormatOptions::setMaxColumnWidth |
( |
int | width | ) |
|
|
inline |
◆ setNewline()
◆ setNormalizeEnabled()
| void QQmlFormatOptions::setNormalizeEnabled |
( |
bool | normalize | ) |
|
|
inline |
◆ setObjectsSpacing()
| void QQmlFormatOptions::setObjectsSpacing |
( |
bool | spacing | ) |
|
|
inline |
◆ setOutputOptionsEnabled()
| void QQmlFormatOptions::setOutputOptionsEnabled |
( |
bool | newOutputOptions | ) |
|
|
inline |
◆ setSemicolonRule()
◆ setSettingsFile()
| void QQmlFormatOptions::setSettingsFile |
( |
const QString & | newSettingsFile | ) |
|
|
inline |
◆ setSingleLineEmptyObjects()
| void QQmlFormatOptions::setSingleLineEmptyObjects |
( |
bool | singleLineEmptyObjects | ) |
|
|
inline |
◆ setSortImports()
| void QQmlFormatOptions::setSortImports |
( |
bool | sort | ) |
|
|
inline |
◆ setTabsEnabled()
| void QQmlFormatOptions::setTabsEnabled |
( |
bool | tabs | ) |
|
|
inline |
◆ settingsFile()
| QString QQmlFormatOptions::settingsFile |
( |
| ) |
const |
|
inline |
◆ setWriteDefaultSettingsEnabled()
| void QQmlFormatOptions::setWriteDefaultSettingsEnabled |
( |
bool | newWriteDefaultSettings | ) |
|
|
inline |
◆ singleLineEmptyObjects()
| bool QQmlFormatOptions::singleLineEmptyObjects |
( |
| ) |
const |
|
inline |
◆ sortImports()
| bool QQmlFormatOptions::sortImports |
( |
| ) |
const |
|
inline |
◆ tabsEnabled()
| bool QQmlFormatOptions::tabsEnabled |
( |
| ) |
const |
|
inline |
◆ writeDefaultSettingsEnabled()
| bool QQmlFormatOptions::writeDefaultSettingsEnabled |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: