void setToDefaults();
- bool operator==(const Identity &other);
- bool operator!=(const Identity &other);
+ bool operator==(const Identity &other) const;
+ bool operator!=(const Identity &other) const;
inline bool isValid() const { return id().isValid(); }
void setPartReason(const QString &reason);
void setQuitReason(const QString &reason);
- void update(const Identity &other);
+ void copyFrom(const Identity &other);
signals:
void idSet(IdentityId id);