X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=d683879aad2b80d9a219b4507b23cf8a6a8c1674;hb=a43d9818f34480d02acc6dc8301cb70a616da4e0;hp=4139aa4c88961b9ce80aa398c52ff00c387324f7;hpb=5745311bc102bf2361cee0f3a5c4d442a05ac64e;p=quassel.git diff --git a/src/common/types.h b/src/common/types.h index 4139aa4c..d683879a 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -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: