Extending Qt Creator Manual | EnvironmentItem

Extending Qt Creator Manual 4.7.1

# EnvironmentItem Class

(Utils::EnvironmentItem)

- List of all members, including inherited members

## Public Types

enum | Operation { Set, Unset, Prepend, Append }

## Public Functions

| EnvironmentItem(const QString &n, const QString &v, Utils::EnvironmentItem::Operation op = Set)
void | apply(Utils::Environment *e) const
bool | operator!=(const Utils::EnvironmentItem &other) const
bool | operator==(const Utils::EnvironmentItem &other) const

## Static Public Members

QList<Utils::EnvironmentItem> | fromStringList(const QStringList &list)
Utils::EnvironmentItem | itemFromVariantList(const QVariantList &list)
QList<Utils::EnvironmentItem> | itemsFromVariantList(const QVariantList &list)
void | sort(QList<Utils::EnvironmentItem> *list)
QStringList | toStringList(const QList<Utils::EnvironmentItem> &list)
QVariantList | toVariantList(const QList<Utils::EnvironmentItem> &list)
QVariantList | toVariantList(const Utils::EnvironmentItem &item)

## Member Type Documentation

### enum EnvironmentItem::Operation

## Member Function Documentation

### EnvironmentItem::EnvironmentItem(const QString &n, const QString &v, Utils::EnvironmentItem::Operation op = Set)

Default constructs an instance of EnvironmentItem.

### void EnvironmentItem::apply(Utils::Environment *e) const

### `[static]` QList<Utils::EnvironmentItem> EnvironmentItem::fromStringList(const QStringList &list)

### `[static]` Utils::EnvironmentItem EnvironmentItem::itemFromVariantList(const QVariantList &list)

### `[static]` QList<Utils::EnvironmentItem> EnvironmentItem::itemsFromVariantList(const QVariantList &list)

### `[static]` void EnvironmentItem::sort(QList<Utils::EnvironmentItem> *list)

### `[static]` QStringList EnvironmentItem::toStringList(const QList<Utils::EnvironmentItem> &list)

### `[static]` QVariantList EnvironmentItem::toVariantList(const QList<Utils::EnvironmentItem> &list)

### `[static]` QVariantList EnvironmentItem::toVariantList(const Utils::EnvironmentItem &item)

### bool EnvironmentItem::operator!=(const Utils::EnvironmentItem &other) const

### bool EnvironmentItem::operator==(const Utils::EnvironmentItem &other) const