EnvironmentItem Class | Extending Qt Creator Manual

Extending Qt Creator Manual | EnvironmentItem

Extending Qt Creator Manual 4.6.0

# 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, Operation op = Set)
void | apply(Environment *e) const
bool | operator==(const EnvironmentItem &other) const

## Static Public Members

QList<EnvironmentItem> | fromStringList(const QStringList &list)
void | sort(QList<EnvironmentItem> *list)
QStringList | toStringList(const QList<EnvironmentItem> &list)

## Member Type Documentation

### enum EnvironmentItem::Operation

## Member Function Documentation

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

Default constructs an instance of EnvironmentItem.

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

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

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

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

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