X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpeer.h;h=a21e9c1bea7e79fd4f8b85b6a64ec56da63eeeed;hp=de9a4b64da1d65cac9cdd32dade7a65e500d8bec;hb=b65b9f7615165e8700a44d59b7275a55558dd45b;hpb=9d54503555534a2c554f09a33df6afa33d6308ec diff --git a/src/common/peer.h b/src/common/peer.h index de9a4b64..a21e9c1b 100644 --- a/src/common/peer.h +++ b/src/common/peer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2014 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -82,6 +82,10 @@ private: QPointer _authHandler; }; +// We need to special-case Peer* in attached signals/slots, so typedef it for the meta type system +typedef Peer * PeerPtr; +Q_DECLARE_METATYPE(PeerPtr) + // Template method needed in the header template inline