projects
/
qtrapids
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
-Added QTorrentHandle and started torrent adding implementation
[qtrapids]
/
src
/
engine
/
AlertWaiterThread.h
diff --git
a/src/engine/AlertWaiterThread.h
b/src/engine/AlertWaiterThread.h
index
5ba3bf6
..
0a2209a
100644
(file)
--- a/
src/engine/AlertWaiterThread.h
+++ b/
src/engine/AlertWaiterThread.h
@@
-21,6
+21,8
@@
#define ALERTWAITERTHREAD_H
#include <QThread>
#define ALERTWAITERTHREAD_H
#include <QThread>
+#include "QBittorrentSession.h"
+
/**
@author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
/**
@author Lassi Väätämöinen <lassi.vaatamoinen@ixonos.com>
@@
-30,17
+32,18
@@
class AlertWaiterThread : public QThread
Q_OBJECT
public:
Q_OBJECT
public:
- AlertWaiterThread(QObject* parent = 0);
+ AlertWaiterThread(TorrentSession *const session, QObject *parent = 0);
- ~AlertWaiterThread();
+ virtual ~AlertWaiterThread();
- void run(); // Overridden from QThread
+ virtual void run(); // Overridden from QThread
signals:
signals:
- void alert();
+ void alert(TorrentAlert const *alert);
private:
private:
-
+ TorrentSession *const btSession_;
+
};
#endif
};
#endif