Search the web with selected text.
[quassel.git] / src / client / clienttransfer.h
index b1ca5df..9753f41 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-2013 by the Quassel Project                        *
+ *   Copyright (C) 2005-2014 by the Quassel Project                        *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -25,6 +25,8 @@
 
 #include "transfer.h"
 
+class QFile;
+
 class ClientTransfer : public Transfer
 {
     Q_OBJECT
@@ -40,9 +42,16 @@ public slots:
     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