X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclienttransfer.h;h=567797fafe0512e010f7256d4583797ec5970f5e;hp=4f54ef08afc6c3710799dea1d97a9306692103fd;hb=3e63cb8a6e83765069a45101b86ae9e21dcc57ad;hpb=a9f422812ea5a8d43297790283ba2fdfe65a9ead diff --git a/src/client/clienttransfer.h b/src/client/clienttransfer.h index 4f54ef08..567797fa 100644 --- a/src/client/clienttransfer.h +++ b/src/client/clienttransfer.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -18,8 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLIENTTRANSFER_H -#define CLIENTTRANSFER_H +#pragma once #include @@ -30,13 +29,14 @@ class QFile; class ClientTransfer : public Transfer { Q_OBJECT - SYNCABLE_OBJECT public: ClientTransfer(const QUuid &uuid, QObject *parent = 0); QString savePath() const; + quint64 transferred() const override; + public slots: // called on the client side void accept(const QString &savePath) const override; @@ -53,5 +53,3 @@ private: QFile *_file; }; - -#endif