X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=c9891231cf7f2587c06e71566cc019f29b3b392e;hb=f13ee12590d103b3512ba74c0bef3b0817c4c947;hp=4139aa4c88961b9ce80aa398c52ff00c387324f7;hpb=5745311bc102bf2361cee0f3a5c4d442a05ac64e;p=quassel.git diff --git a/src/common/types.h b/src/common/types.h index 4139aa4c..c9891231 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2014 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -24,10 +24,16 @@ #include #include #include +#include #include #include #include +// We need to special-case Peer* in attached signals/slots, so typedef it for the meta type system +class Peer; +typedef Peer * PeerPtr; +Q_DECLARE_METATYPE(PeerPtr) + class SignedId { protected: