1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#ifndef TRANSMISSIONCLIENT_H
#define TRANSMISSIONCLIENT_H
#include <QProcess>
#include "torrentclient.h"
class TransmissionClient : public TorrentClient
{
Q_OBJECT
public:
explicit TransmissionClient(QObject *parent = 0);
bool addTorrent(QString filePath);
void newProcess();
signals:
public slots:
private:
QString command;
void findCommand();
QProcess* process;
};
#endif // TRANSMISSIONCLIENT_H