summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_statusbarapplet.h
blob: 03dd6d0dfb20d89928594069c30952ed444b1fe3 (plain)
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
#ifndef _TC_STATUSBARAPPLET_H_
#define _TC_STATUSBARAPPLET_H_

#include "kvi_statusbar.h"
#include "kvi_statusbarapplet.h"

// TODO: check if it gets destroyed
// TODO: proper icon!
class KviTorrentStatusBarApplet : public KviStatusBarApplet
{
	Q_OBJECT

public:

	KviTorrentStatusBarApplet(KviStatusBar *parent, KviStatusBarAppletDescriptor *desc);
	virtual ~KviTorrentStatusBarApplet();

	static void selfRegister(KviStatusBar *bar);

private slots:

	void update();

};

#endif // _TC_STATUSBARAPPLET_H_