X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Fpeer.h;h=2bdcc563b7603ca0d278af1c6a70fbc347e30944;hp=aa8d0fe8b5491d6895297b7bebb88c96076d55bf;hb=2d753d5d08707cc668c7d029adec09c16a6f5298;hpb=64cf9f9b8a737dad5f29447805d4004cfd03c454 diff --git a/src/common/peer.h b/src/common/peer.h index aa8d0fe8..2bdcc563 100644 --- a/src/common/peer.h +++ b/src/common/peer.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 * @@ -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