X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=6c2ee04ebd3a06206e10d8bef23615b99d289ca6;hp=aa0521b769b57c82caca5d523082ee590fe92d3a;hb=93aa90cdc8ee608f4b65a32702eabb8a5590c273;hpb=5b686746c880e5cda6d5de3e08180ea4332ff222 diff --git a/src/common/types.h b/src/common/types.h index aa0521b7..6c2ee04e 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2012 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 {