summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_statusbarapplet.h
blob: 9051cf87d89004af74e555a26dbd91bbd8405d20 (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
27
#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
  TQ_OBJECT

public:

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

	static void selfRegister(KviStatusBar *bar);

private slots:

	void update();

};

#endif // _TC_STATUSBARAPPLET_H_