X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=290d53f6cf83018b5f31800556a390f3fb9bbc60;hp=0fbb2b773113fde769406aceff47356a1db702b3;hb=2f692b299eded9386fdee3e7a13727d95bbe2495;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a diff --git a/src/common/types.h b/src/common/types.h index 0fbb2b77..290d53f6 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,8 +24,16 @@ #include #include #include +#include #include #include +#include + +#include "peer.h" + +// 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) class SignedId {