From a6d58bb6052ac8cb01805a48c4ad2f129126116f Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 24 Feb 2010 02:13:59 +0000 Subject: Added KDE3 version of kvirc git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/torrent/tc_statusbarapplet.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/modules/torrent/tc_statusbarapplet.h (limited to 'src/modules/torrent/tc_statusbarapplet.h') 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_ -- cgit v1.2.1