mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Queued torrents are now identified in Web UI
- Improved transfer list update for queued torrents - Allow to show/hide top toolbar - top toolbar is now hidden as a default - Connection status is now displayed in status bar (bottom) - Removed "Disconnected" connection status (bad detection) - Added increase/decrease priority actions to Edit menu - Added keyboard shortcuts for increase/decrease priority actions
This commit is contained in:
parent
c7a289d183
commit
ff26ea94f5
23 changed files with 159 additions and 100 deletions
|
@ -27,6 +27,8 @@
|
|||
#include <QPair>
|
||||
#include <QVariant>
|
||||
|
||||
struct bittorrent;
|
||||
|
||||
class EventManager : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -34,12 +36,13 @@ class EventManager : public QObject
|
|||
ulong revision;
|
||||
QLinkedList<QPair <ulong, QVariantMap> > events;
|
||||
bool modify(QString hash, QString key, QVariant value);
|
||||
bittorrent* BTSession;
|
||||
|
||||
protected:
|
||||
void update(QVariantMap event);
|
||||
|
||||
public:
|
||||
EventManager(QObject *parent = 0);
|
||||
EventManager(QObject *parent, bittorrent* BTSession);
|
||||
QVariant querySince(ulong r) const;
|
||||
bool isUpdated(ulong r) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue