TextEditorSettings Class
(TextEditor::TextEditorSettings)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.