X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Ftypes.h;h=6c2ee04ebd3a06206e10d8bef23615b99d289ca6;hb=4a82836fd9c03eb930e934e8839d560694145b6c;hp=0fbb2b773113fde769406aceff47356a1db702b3;hpb=76db8cdfbeffaaba359c8e80cf2146da9e9e7f8a;p=quassel.git diff --git a/src/common/types.h b/src/common/types.h index 0fbb2b77..6c2ee04e 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 * @@ -26,6 +26,12 @@ #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 {