Extending Qt Creator Manual | VcsBaseClientSettings

Extending Qt Creator Manual 4.4.0

# VcsBaseClientSettings Class

(VcsBase::VcsBaseClientSettings)

The VcsBaseClientSettings class contains settings used in VcsBaseClient. More...

Header: | #include <VcsBaseClientSettings>

- List of all members, including inherited members

## Public Functions

| VcsBaseClientSettings()
| VcsBaseClientSettings(const VcsBaseClientSettings &other)
virtual | ~VcsBaseClientSettings()
Utils::FileName | binaryPath() const
bool * | boolPointer(const QString &key)
bool | boolValue(const QString &key, bool defaultValue = false) const
bool | equals(const VcsBaseClientSettings &rhs) const
bool | hasKey(const QString &key) const
int * | intPointer(const QString &key)
int | intValue(const QString &key, int defaultValue = 0) const
QStringList | keys() const
void | readSettings(const QSettings *settings)
QStringList | searchPathList() const
void | setValue(const QString &key, const QVariant &v)
QString * | stringPointer(const QString &key)
QString | stringValue(const QString &key, const QString &defaultValue = QString()) const
QVariant | value(const QString &key) const
QVariant::Type | valueType(const QString &key) const
void | writeSettings(QSettings *settings) const
VcsBaseClientSettings & | operator=(const VcsBaseClientSettings &other)

## Protected Functions

void | declareKey(const QString &key, const QVariant &defaultValue)
QVariant | keyDefaultValue(const QString &key) const
virtual void | readLegacySettings(const QSettings *settings)
void | setSettingsGroup(const QString &group)
QString | settingsGroup() const

## Detailed Description

The VcsBaseClientSettings class contains settings used in VcsBaseClient.

See also VcsBase::VcsBaseClient.

## Member Function Documentation

### VcsBaseClientSettings::VcsBaseClientSettings()

Default constructs an instance of VcsBaseClientSettings.

### VcsBaseClientSettings::VcsBaseClientSettings(const VcsBaseClientSettings &other)

Copy constructor.

### `[virtual]` VcsBaseClientSettings::~VcsBaseClientSettings()

Destroys the instance of VcsBaseClientSettings. The destructor is virtual.

### Utils::FileName VcsBaseClientSettings::binaryPath() const

### bool *VcsBaseClientSettings::boolPointer(const QString &key)

### bool VcsBaseClientSettings::boolValue(const QString &key, bool defaultValue = false) const

### `[protected]` void VcsBaseClientSettings::declareKey(const QString &key, const QVariant &defaultValue)

### bool VcsBaseClientSettings::equals(const VcsBaseClientSettings &rhs) const

### bool VcsBaseClientSettings::hasKey(const QString &key) const

### int *VcsBaseClientSettings::intPointer(const QString &key)

### int VcsBaseClientSettings::intValue(const QString &key, int defaultValue = 0) const

### `[protected]` QVariant VcsBaseClientSettings::keyDefaultValue(const QString &key) const

### QStringList VcsBaseClientSettings::keys() const

### `[virtual protected]` void VcsBaseClientSettings::readLegacySettings(const QSettings *settings)

### void VcsBaseClientSettings::readSettings(const QSettings *settings)

### QStringList VcsBaseClientSettings::searchPathList() const

### `[protected]` void VcsBaseClientSettings::setSettingsGroup(const QString &group)

See also settingsGroup().

### void VcsBaseClientSettings::setValue(const QString &key, const QVariant &v)

See also value().

### `[protected]` QString VcsBaseClientSettings::settingsGroup() const

### QString *VcsBaseClientSettings::stringPointer(const QString &key)

### QString VcsBaseClientSettings::stringValue(const QString &key, const QString &defaultValue = QString()) const

### QVariant VcsBaseClientSettings::value(const QString &key) const

See also setValue().

### QVariant::Type VcsBaseClientSettings::valueType(const QString &key) const

### void VcsBaseClientSettings::writeSettings(QSettings *settings) const

### VcsBaseClientSettings &VcsBaseClientSettings::operator=(const VcsBaseClientSettings &other)

Copy-assignment operator.