X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclienttransfermanager.h;h=a47d749d93226fbe076a4eef416cfc3b81517762;hp=505ae1e2c72fd2bb177d60af35a8c75132666f1a;hb=db00831bca59a012242d1ad5fac52a20c6cd2956;hpb=0d7b511c8510d7fd05d3a704114e34ff37f7a995 diff --git a/src/client/clienttransfermanager.h b/src/client/clienttransfermanager.h index 505ae1e2..a47d749d 100644 --- a/src/client/clienttransfermanager.h +++ b/src/client/clienttransfermanager.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 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,35 +18,21 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#ifndef CLIENTTRANSFERMANAGER_H -#define CLIENTTRANSFERMANAGER_H - -#include "transfermanager.h" +#pragma once #include -class ClientTransfer; +#include "transfermanager.h" class ClientTransferManager : public TransferManager { Q_OBJECT - SYNCABLE_OBJECT public: - ClientTransferManager(QObject *parent = 0); - - const ClientTransfer *transfer(const QUuid &uuid) const; - -public slots: - void onCoreTransferAdded(const QUuid &uuid); - void onTransferInitDone(); - -signals: - void transferAdded(const ClientTransfer *transfer); + using TransferManager::TransferManager; private slots: - void onTransferAdded(const Transfer *transfer); - + void setTransferIds(const QList& transferIds) override; + void onCoreTransferAdded(const QUuid& uuid) override; + void onTransferInitDone(); }; - -#endif