X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=290d53f6cf83018b5f31800556a390f3fb9bbc60;hb=2b44b945cf50e3dbfeabe4e5aee10db4b13f5a64;hp=4139aa4c88961b9ce80aa398c52ff00c387324f7;hpb=5745311bc102bf2361cee0f3a5c4d442a05ac64e;p=quassel.git diff --git a/src/common/types.h b/src/common/types.h index 4139aa4c..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,10 +24,17 @@ #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 { protected: