VcsBase Namespace | Extending Qt Creator Manual

Extending Qt Creator Manual | VcsBase Namespace

Extending Qt Creator Manual 4.11.0

# VcsBase Namespace

The VcsBase namespace contains classes for the VcsBase plugin. More...

Header: | #include <VcsBase>

## Types

enum | EditorContentType { RegularCommandOutput, LogOutput, AnnotateOutput, DiffOutput }

## Detailed Description

## Type Documentation

### enum VcsBase::EditorContentType

This enum describes the contents of a VcsBaseEditor and its interaction.

Constant | Value | Description
--- | --- | ---
`VcsBase::RegularCommandOutput` | ? | No special handling.
`VcsBase::LogOutput` | `0` | Log of a file under revision control. Provide a description of the change that users can click to view detailed information about the change and Annotate for the log of a single file.
`VcsBase::AnnotateOutput` | `1` | Color contents per change number and provide a clickable change description. Context menu offers annotate previous version functionality. Expected format:
      <change description>: file line
`VcsBase::DiffOutput` | `2` | Diff output. Might include describe output, which consists of a header and diffs. Double-clicking the chunk opens the file. The context menu offers the functionality to revert the chunk.

See also VcsBase::VcsBaseEditorWidget.