Id Class
(Core::Id)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.