X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=6c2ee04ebd3a06206e10d8bef23615b99d289ca6;hp=4139aa4c88961b9ce80aa398c52ff00c387324f7;hb=93aa90cdc8ee608f4b65a32702eabb8a5590c273;hpb=5745311bc102bf2361cee0f3a5c4d442a05ac64e diff --git a/src/common/types.h b/src/common/types.h index 4139aa4c..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 * @@ -28,6 +28,11 @@ #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 { protected: