VcsBaseEditor Class | Extending Qt Creator Manual

Extending Qt Creator Manual | VcsBaseEditor

Extending Qt Creator Manual 4.6.0

# VcsBaseEditor Class

(VcsBase::VcsBaseEditor)

The VcsBaseEditor class implements an editor with no support for duplicates. More...

Header: | #include <VcsBaseEditor>
Inherits: | TextEditor::BaseTextEditor

- List of all members, including inherited members

## Public Functions

| VcsBaseEditor()

## Reimplemented Public Functions

virtual void | finalizeInitialization() override

- 19 public functions inherited from TextEditor::BaseTextEditor
- 11 public functions inherited from Core::IEditor
- 6 public functions inherited from Core::IContext

## Static Public Members

QString | editorTag(EditorContentType t, const QString &workingDirectory, const QStringList &files, const QString &revision = QString())
const VcsBaseEditorParameters * | findType(const VcsBaseEditorParameters *array, int arraySize, EditorContentType et)
QTextCodec * | getCodec(const QString &source)
QTextCodec * | getCodec(const QString &workingDirectory, const QStringList &files)
QString | getSource(const QString &workingDirectory, const QString &fileName)
QString | getSource(const QString &workingDirectory, const QStringList &fileNames)
QString | getTitleId(const QString &workingDirectory, const QStringList &fileNames, const QString &revision = QString())
VcsBaseEditorWidget * | getVcsBaseEditor(const Core::IEditor *editor)
bool | gotoLineOfEditor(Core::IEditor *e, int lineNumber)
int | lineNumberOfCurrentEditor(const QString &currentFile = QString())
Core::IEditor * | locateEditorByTag(const QString &tag)
void | tagEditor(Core::IEditor *e, const QString &tag)

- 1 static public member inherited from TextEditor::BaseTextEditor

## Detailed Description

The VcsBaseEditor class implements an editor with no support for duplicates.

Creates a browse combo in the toolbar for diff output. It also mirrors the signals of the VcsBaseEditor since the editor manager passes the editor around.

## Member Function Documentation

### VcsBaseEditor::VcsBaseEditor()

Default constructs an instance of VcsBaseEditor.

### `[static]` QString VcsBaseEditor::editorTag(EditorContentType t, const QString &workingDirectory, const QStringList &files, const QString &revision = QString())

### `[override virtual]` void VcsBaseEditor::finalizeInitialization()

### `[static]` const VcsBaseEditorParameters *VcsBaseEditor::findType(const VcsBaseEditorParameters *array, int arraySize, EditorContentType et)

### `[static]` QTextCodec *VcsBaseEditor::getCodec(const QString &source)

### `[static]` QTextCodec *VcsBaseEditor::getCodec(const QString &workingDirectory, const QStringList &files)

### `[static]` QString VcsBaseEditor::getSource(const QString &workingDirectory, const QString &fileName)

### `[static]` QString VcsBaseEditor::getSource(const QString &workingDirectory, const QStringList &fileNames)

### `[static]` QString VcsBaseEditor::getTitleId(const QString &workingDirectory, const QStringList &fileNames, const QString &revision = QString())

### `[static]` VcsBaseEditorWidget *VcsBaseEditor::getVcsBaseEditor(const Core::IEditor *editor)

### `[static]` bool VcsBaseEditor::gotoLineOfEditor(Core::IEditor *e, int lineNumber)

### `[static]` int VcsBaseEditor::lineNumberOfCurrentEditor(const QString &currentFile = QString())

### `[static]` Core::IEditor *VcsBaseEditor::locateEditorByTag(const QString &tag)

### `[static]` void VcsBaseEditor::tagEditor(Core::IEditor *e, const QString &tag)