-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtorrent.h
More file actions
40 lines (32 loc) · 817 Bytes
/
torrent.h
File metadata and controls
40 lines (32 loc) · 817 Bytes
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef TORRENT_H
#define TORRENT_H
#include <QObject>
#include "QSettings"
#include "QDebug"
#include "QMenu"
#include <QTimer>
#include <QHttp>
#include <QBuffer>
#include <QList>
#include <QFile>
#include <QtGui>
#include "cloud.h"
class Torrent : public QObject
{
Q_OBJECT
public:
explicit Torrent(QSettings* setGlobal, QList<game>* games, QStringList* hashes, QObject *parent = 0);
QSettings* setGlobal;
QList<game>* games;
QStringList* hashes;
void startApp();
void showApp();
void setState(torrent_state i);
void setPrio(torrent_prio prio, int gameid, QString ip = "localhost");
void setPrioAll(torrent_prio prio, int gameid);
QMap<QString, dl> getInfo(QStringList hashes);
stats getStats();
signals:
public slots:
};
#endif // TORRENT_H