Move the PeerPtr declaration out of types.h
[quassel.git] / src / common / types.h
index 6c2ee04..a63e296 100644 (file)
 #include <QDebug>
 #include <QString>
 #include <QVariant>
+#include <QDataStream>
 #include <QTextStream>
 #include <QHostAddress>
 #include <QDataStream>
 
-// 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: