TextEditorSettings Class | Extending Qt Creator Manual

Extending Qt Creator Manual | TextEditorSettings

Extending Qt Creator Manual 4.5.1

# TextEditorSettings Class

(TextEditor::TextEditorSettings)

- List of all members, including inherited members

## Public Functions

| TextEditorSettings(QObject *parent)
| ~TextEditorSettings()

## Signals

void | behaviorSettingsChanged(const TextEditor::BehaviorSettings &)
void | commentsSettingsChanged(const TextEditor::CommentsSettings &)
void | completionSettingsChanged(const TextEditor::CompletionSettings &)
void | displaySettingsChanged(const TextEditor::DisplaySettings &)
void | extraEncodingSettingsChanged(const TextEditor::ExtraEncodingSettings &)
void | fontSettingsChanged(const TextEditor::FontSettings &)
void | marginSettingsChanged(const TextEditor::MarginSettings &)
void | storageSettingsChanged(const TextEditor::StorageSettings &)
void | typingSettingsChanged(const TextEditor::TypingSettings &)

## Static Public Members

const BehaviorSettings & | behaviorSettings()
ICodeStylePreferences * | codeStyle()
ICodeStylePreferences * | codeStyle(Core::Id languageId)
QMap<Core::Id, ICodeStylePreferencesFactory *> | codeStyleFactories()
ICodeStylePreferencesFactory * | codeStyleFactory(Core::Id languageId)
CodeStylePool * | codeStylePool()
CodeStylePool * | codeStylePool(Core::Id languageId)
QMap<Core::Id, ICodeStylePreferences *> | codeStyles()
const CommentsSettings & | commentsSettings()
const CompletionSettings & | completionSettings()
const DisplaySettings & | displaySettings()
const ExtraEncodingSettings & | extraEncodingSettings()
const FontSettings & | fontSettings()
const HighlighterSettings & | highlighterSettings()
int | increaseFontZoom(int step)
TextEditorSettings * | instance()
Core::Id | languageId(const QString &mimeType)
const MarginSettings & | marginSettings()
void | registerCodeStyle(Core::Id languageId, ICodeStylePreferences *prefs)
void | registerCodeStyleFactory(ICodeStylePreferencesFactory *codeStyleFactory)
void | registerCodeStylePool(Core::Id languageId, CodeStylePool *pool)
void | registerMimeTypeForLanguageId(const char *mimeType, Core::Id languageId)
void | resetFontZoom()
const StorageSettings & | storageSettings()
const TypingSettings & | typingSettings()
void | unregisterCodeStyle(Core::Id languageId)
void | unregisterCodeStyleFactory(Core::Id languageId)
void | unregisterCodeStylePool(Core::Id languageId)

## Member Function Documentation

### TextEditorSettings::TextEditorSettings(QObject *parent)

Default constructs an instance of TextEditorSettings.

### TextEditorSettings::~TextEditorSettings()

Destroys the instance of TextEditorSettings.

### `[static]` const BehaviorSettings &TextEditorSettings::behaviorSettings()

### `[signal]` void TextEditorSettings::behaviorSettingsChanged(const TextEditor::BehaviorSettings &)

### `[static]` ICodeStylePreferences *TextEditorSettings::codeStyle()

### `[static]` ICodeStylePreferences *TextEditorSettings::codeStyle(Core::Id languageId)

### `[static]` QMap<Core::Id, ICodeStylePreferencesFactory *> TextEditorSettings::codeStyleFactories()

### `[static]` ICodeStylePreferencesFactory *TextEditorSettings::codeStyleFactory(Core::Id languageId)

### `[static]` CodeStylePool *TextEditorSettings::codeStylePool()

### `[static]` CodeStylePool *TextEditorSettings::codeStylePool(Core::Id languageId)

### `[static]` QMap<Core::Id, ICodeStylePreferences *> TextEditorSettings::codeStyles()

### `[static]` const CommentsSettings &TextEditorSettings::commentsSettings()

### `[signal]` void TextEditorSettings::commentsSettingsChanged(const TextEditor::CommentsSettings &)

### `[static]` const CompletionSettings &TextEditorSettings::completionSettings()

### `[signal]` void TextEditorSettings::completionSettingsChanged(const TextEditor::CompletionSettings &)

### `[static]` const DisplaySettings &TextEditorSettings::displaySettings()

### `[signal]` void TextEditorSettings::displaySettingsChanged(const TextEditor::DisplaySettings &)

### `[static]` const ExtraEncodingSettings &TextEditorSettings::extraEncodingSettings()

### `[signal]` void TextEditorSettings::extraEncodingSettingsChanged(const TextEditor::ExtraEncodingSettings &)

### `[static]` const FontSettings &TextEditorSettings::fontSettings()

### `[signal]` void TextEditorSettings::fontSettingsChanged(const TextEditor::FontSettings &)

### `[static]` const HighlighterSettings &TextEditorSettings::highlighterSettings()

### `[static]` int TextEditorSettings::increaseFontZoom(int step)

### `[static]` TextEditorSettings *TextEditorSettings::instance()

### `[static]` Core::Id TextEditorSettings::languageId(const QString &mimeType)

### `[static]` const MarginSettings &TextEditorSettings::marginSettings()

### `[signal]` void TextEditorSettings::marginSettingsChanged(const TextEditor::MarginSettings &)

### `[static]` void TextEditorSettings::registerCodeStyle(Core::Id languageId, ICodeStylePreferences *prefs)

### `[static]` void TextEditorSettings::registerCodeStyleFactory(ICodeStylePreferencesFactory *codeStyleFactory)

### `[static]` void TextEditorSettings::registerCodeStylePool(Core::Id languageId, CodeStylePool *pool)

### `[static]` void TextEditorSettings::registerMimeTypeForLanguageId(const char *mimeType, Core::Id languageId)

### `[static]` void TextEditorSettings::resetFontZoom()

### `[static]` const StorageSettings &TextEditorSettings::storageSettings()

### `[signal]` void TextEditorSettings::storageSettingsChanged(const TextEditor::StorageSettings &)

### `[static]` const TypingSettings &TextEditorSettings::typingSettings()

### `[signal]` void TextEditorSettings::typingSettingsChanged(const TextEditor::TypingSettings &)

### `[static]` void TextEditorSettings::unregisterCodeStyle(Core::Id languageId)

### `[static]` void TextEditorSettings::unregisterCodeStyleFactory(Core::Id languageId)

### `[static]` void TextEditorSettings::unregisterCodeStylePool(Core::Id languageId)