summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_statusbarapplet.h
blob: 63ab3054bd4648083ec59c80b0ab96df4718c0d6 (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 *tqparent, KviStatusBarAppletDescriptor *desc);
	virtual ~KviTorrentStatusBarApplet();

	static void selfRegister(KviStatusBar *bar);

private slots:

	void update();

};

#endif // _TC_STATUSBARAPPLET_H_