Obsolete Members for Id | Extending Qt Creator Manual

- Extending Qt Creator Manual
- Id
- Extending Qt Creator Manual 4.12.3

# Obsolete Members for Id

The following members of class Id are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Static Public Members

`(obsolete)` Core::Id | fromName(const QByteArray &name)
`(obsolete)` Core::Id | fromString(const QString &name)

## Member Function Documentation

### `[static]` Core::Id Id::fromName(const QByteArray &name)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Creates an id from a string representation.

This should not be used to handle a persistent version of the Id, use `fromSetting()` instead.

See also toString() and fromSetting().

### `[static]` Core::Id Id::fromString(const QString &name)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Creates an id from a string representation.

This should not be used to handle a persistent version of the Id, use `fromSetting()` instead.

See also toString() and fromSetting().