X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=2b9d974dc06d5c15c74b77fe87a34fe4761e99e5;hp=e2a9aab5e359f7242d637a8aaee73c6d97fe15cd;hb=c0d6dc0dec628f2e143e37ecc95cec45e636f8a5;hpb=579e559a6322209df7cd51c34801fecff5fe734b diff --git a/src/common/types.h b/src/common/types.h index e2a9aab5..2b9d974d 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -140,7 +140,7 @@ struct UserId : public SignedId inline UserId(int _id = 0) : SignedId(_id) {} - // inline operator QVariant() const { return QVariant::fromValue(*this); } // no automatic conversion! + // inline operator QVariant() const { return QVariant::fromValue(*this); } // no automatic conversion! }; struct MsgId : public SignedId64 @@ -148,7 +148,7 @@ struct MsgId : public SignedId64 inline MsgId(qint64 _id = 0) : SignedId64(_id) {} - // inline operator QVariant() const { return QVariant::fromValue(*this); } + // inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct BufferId : public SignedId @@ -156,7 +156,7 @@ struct BufferId : public SignedId inline BufferId(int _id = 0) : SignedId(_id) {} - // inline operator QVariant() const { return QVariant::fromValue(*this); } + // inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct NetworkId : public SignedId @@ -164,7 +164,7 @@ struct NetworkId : public SignedId inline NetworkId(int _id = 0) : SignedId(_id) {} - // inline operator QVariant() const { return QVariant::fromValue(*this); } + // inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct IdentityId : public SignedId @@ -172,7 +172,7 @@ struct IdentityId : public SignedId inline IdentityId(int _id = 0) : SignedId(_id) {} - // inline operator QVariant() const { return QVariant::fromValue(*this); } + // inline operator QVariant() const { return QVariant::fromValue(*this); } }; struct AccountId : public SignedId