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