You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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_
|