/***************************************************************************
- * Copyright (C) 2005-2013 by the Quassel Project *
+ * Copyright (C) 2005-2015 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
#include "transfer.h"
+class QFile;
+
class ClientTransfer : public Transfer
{
Q_OBJECT
void accept(const QString &savePath) const;
void reject() const;
+private slots:
+ void dataReceived(PeerPtr peer, const QByteArray &data);
+ void onStateChanged(State state);
+
private:
- // non-synced attributes
+ virtual void cleanUp();
+
mutable QString _savePath;
+
+ QFile *_file;
};
#endif