summaryrefslogtreecommitdiffstats
path: root/src/modules/torrent/tc_statusbarapplet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/torrent/tc_statusbarapplet.h')
-rw-r--r--src/modules/torrent/tc_statusbarapplet.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/modules/torrent/tc_statusbarapplet.h b/src/modules/torrent/tc_statusbarapplet.h
new file mode 100644
index 00000000..03dd6d0d
--- /dev/null
+++ b/src/modules/torrent/tc_statusbarapplet.h
@@ -0,0 +1,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_