X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.h;h=86eafb439091ef059f585652968ec00741cf2c50;hp=a71e0eeb9b9e86a4d21f72a9c49bd72771a8965d;hb=9e531f113fbca51739ac6e2cf4eed7005b005c8f;hpb=ac21cc48d22f0cf58a98b74754fa94564a8e3f45 diff --git a/src/common/identity.h b/src/common/identity.h index a71e0eeb..86eafb43 100644 --- a/src/common/identity.h +++ b/src/common/identity.h @@ -60,8 +60,8 @@ public: 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(); } @@ -106,7 +106,7 @@ public slots: 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);