X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fidentity.h;h=a5fc9cd29dd1b6752b1f18366ae49b40cbc9ef5c;hp=a71e0eeb9b9e86a4d21f72a9c49bd72771a8965d;hb=cd37744f0a2cd8ffe027892ddce5c7d6f4848ab0;hpb=ac21cc48d22f0cf58a98b74754fa94564a8e3f45 diff --git a/src/common/identity.h b/src/common/identity.h index a71e0eeb..a5fc9cd2 100644 --- a/src/common/identity.h +++ b/src/common/identity.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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);