summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
84cd356)
This belongs in peer.h instead, since types.h is included in lots
of places that should not drag the peer deps in. Also, this caused
problems (circular deps?) when building the OSX notification backend.
QPointer<AuthHandler> _authHandler;
};
QPointer<AuthHandler> _authHandler;
};
+// 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)
+
// Template method needed in the header
template<typename T> inline
// Template method needed in the header
template<typename T> inline
#include <QHostAddress>
#include <QUuid>
#include <QHostAddress>
#include <QUuid>
#include "syncableobject.h"
#include "syncableobject.h"
class Transfer : public SyncableObject
{
class Transfer : public SyncableObject
{
#include <QHostAddress>
#include <QDataStream>
#include <QHostAddress>
#include <QDataStream>
-#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:
class SignedId
{
protected:
# include <QSslSocket>
#endif
# include <QSslSocket>
#endif
#include <QFile>
#include "logger.h"
#include <QFile>
#include "logger.h"