VersionUpgrader Class | Extending Qt Creator Manual

Extending Qt Creator Manual | VersionUpgrader

Extending Qt Creator Manual 4.6.0

# VersionUpgrader Class

(Utils::VersionUpgrader)

- List of all members, including inherited members

## Public Functions

| VersionUpgrader(const int version, const QString &extension)
virtual | ~VersionUpgrader() = default
QString | backupExtension() const
virtual QVariantMap | upgrade(const QVariantMap &data) = 0
int | version() const

## Protected Types

typedef | Change

## Protected Functions

QVariantMap | renameKeys(const QList<Change> &changes, QVariantMap map) const

## Member Type Documentation

### typedef VersionUpgrader::Change

## Member Function Documentation

### VersionUpgrader::VersionUpgrader(const int version, const QString &extension)

Default constructs an instance of VersionUpgrader.

### `[default]` VersionUpgrader::~VersionUpgrader()

Destroys the instance of VersionUpgrader. The destructor is virtual.

### QString VersionUpgrader::backupExtension() const

### `[protected]` QVariantMap VersionUpgrader::renameKeys(const QList<Change> &changes, QVariantMap map) const

### `[pure virtual]` QVariantMap VersionUpgrader::upgrade(const QVariantMap &data)

### int VersionUpgrader::version() const