summaryrefslogtreecommitdiff
path: root/core/launcher/systray.h
authorzecke <zecke>2003-08-28 14:48:13 (UTC)
committer zecke <zecke>2003-08-28 14:48:13 (UTC)
commit6ae5aaad2dec2470940f83f1e8629aec48f284a7 (patch) (side-by-side diff)
tree4b8c3c19351966849c591a855473043448cd5d48 /core/launcher/systray.h
parente284d63306cd3b00baff8e464a8eaf2eb64ea49a (diff)
downloadopie-6ae5aaad2dec2470940f83f1e8629aec48f284a7.zip
opie-6ae5aaad2dec2470940f83f1e8629aec48f284a7.tar.gz
opie-6ae5aaad2dec2470940f83f1e8629aec48f284a7.tar.bz2
Plugin loading changes
Diffstat (limited to 'core/launcher/systray.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/systray.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/launcher/systray.h b/core/launcher/systray.h
index 5a6849a..77c581f 100644
--- a/core/launcher/systray.h
+++ b/core/launcher/systray.h
@@ -21,7 +21,9 @@
#ifndef __SYSTRAY_H__
#define __SYSTRAY_H__
-#include <qpe/taskbarappletinterface.h>
+#ifndef QT_NO_COMPONENT
+#include <qtopia/taskbarappletinterface.h>
+#endif
#include <qframe.h>
#include <qvaluelist.h>
@@ -33,25 +35,23 @@ struct TaskbarApplet
{
#ifndef QT_NO_COMPONENT
QLibrary *library;
-#endif
TaskbarAppletInterface *iface;
+#endif
QWidget *applet;
+ QString name;
};
class SysTray : public QFrame {
Q_OBJECT
public:
SysTray( QWidget *parent );
+ ~SysTray();
void clearApplets();
void addApplets();
-protected:
- void timerEvent(QTimerEvent* e);
-
private:
void loadApplets();
- int safety_tid;
QHBoxLayout *layout;
QValueList<TaskbarApplet> appletList;
};