X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Ftypes.h;h=d683879aad2b80d9a219b4507b23cf8a6a8c1674;hp=4139aa4c88961b9ce80aa398c52ff00c387324f7;hb=f44459818f34b556df8ff2f400098c50b78501eb;hpb=47a6910aed00018c7230cc2cc90ae8e80fa77dda 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: