diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-24 02:13:59 +0000 |
commit | a6d58bb6052ac8cb01805a48c4ad2f129126116f (patch) | |
tree | dd867a099fcbb263a8009a9fb22695b87855dad6 /src/modules/torrent/tc_statusbarapplet.h | |
download | kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.tar.gz kvirc-a6d58bb6052ac8cb01805a48c4ad2f129126116f.zip |
Added KDE3 version of kvirc
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1095341 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/modules/torrent/tc_statusbarapplet.h')
-rw-r--r-- | src/modules/torrent/tc_statusbarapplet.h | 26 |
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_ |