Extending Qt Creator Manual | Id

Extending Qt Creator Manual 4.7.2

# Id Class

(Core::Id)

- List of all members, including inherited members

## Public Functions

| Id()
| Id(const char *name)
bool | alphabeticallyBefore(Core::Id other) const
bool | isValid() const
QByteArray | name() const
QString | suffixAfter(Core::Id baseId) const
QVariant | toSetting() const
QString | toString() const
quintptr | uniqueIdentifier() const
Core::Id | withPrefix(const char *prefix) const
Core::Id | withSuffix(int suffix) const
Core::Id | withSuffix(const char *suffix) const
Core::Id | withSuffix(const QString &suffix) const
bool | operator!=(Core::Id id) const
bool | operator!=(const char *name) const
bool | operator<(Core::Id id) const
bool | operator==(Core::Id id) const
bool | operator==(const char *name) const
bool | operator>(Core::Id id) const

## Static Public Members

Core::Id | fromName(const QByteArray &ba)
Core::Id | fromSetting(const QVariant &variant)
Core::Id | fromString(const QString &str)
QSet<Core::Id> | fromStringList(const int &list)
int | toStringList(const QSet<Core::Id> &)
Core::Id | versionedId(const QByteArray &prefix, int major, int minor = -1)

## Member Function Documentation

### Id::Id()

Default constructs an instance of Id.

### Id::Id(const char *name)

Default constructs an instance of Id.

### bool Id::alphabeticallyBefore(Core::Id other) const

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

### `[static]` Core::Id Id::fromSetting(const QVariant &variant)

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

### `[static]` QSet<Core::Id> Id::fromStringList(const int &list)

### bool Id::isValid() const

### QByteArray Id::name() const

### QString Id::suffixAfter(Core::Id baseId) const

### QVariant Id::toSetting() const

### QString Id::toString() const

### `[static]` int Id::toStringList(const QSet<Core::Id> &)

### quintptr Id::uniqueIdentifier() const

### `[static]` Core::Id Id::versionedId(const QByteArray &prefix, int major, int minor = -1)

### Core::Id Id::withPrefix(const char *prefix) const

### Core::Id Id::withSuffix(int suffix) const

### Core::Id Id::withSuffix(const char *suffix) const

### Core::Id Id::withSuffix(const QString &suffix) const

### bool Id::operator!=(Core::Id id) const

### bool Id::operator!=(const char *name) const

### bool Id::operator<(Core::Id id) const

### bool Id::operator==(Core::Id id) const

### bool Id::operator==(const char *name) const

### bool Id::operator>(Core::Id id) const