/***************************************************************************
- * 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 *
TransferManager(QObject *parent = 0);
inline virtual const QMetaObject *syncMetaObject() const { return &staticMetaObject; }
- const Transfer *transfer(const QUuid &uuid) const;
QList<QUuid> transferIds() const;
-public slots:
- void addTransfer(Transfer *transfer);
-
signals:
- void transferAdded(Transfer *transfer);
+ void transferAdded(const Transfer *transfer);
+
+protected:
+ Transfer *transfer_(const QUuid &uuid) const;
+ void addTransfer(Transfer *transfer);
protected slots:
virtual void onCoreTransferAdded(const QUuid &uuid) { Q_UNUSED(uuid) };