+ void error(const QString &errorString);
+
+ void accepted(PeerPtr peer = 0) const;
+ void rejected(PeerPtr peer = 0) const;
+
+protected slots:
+ void setStatus(Transfer::Status status);
+ void setError(const QString &errorString);
+
+ // called on the client side through sync calls
+ virtual void dataReceived(PeerPtr, const QByteArray &data) { Q_UNUSED(data); }
+
+ virtual void cleanUp() = 0;