-rw-r--r-- | core/launcher/systray.h | 12 |
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 @@ -22,5 +22,7 @@ #define __SYSTRAY_H__ -#include <qpe/taskbarappletinterface.h> +#ifndef QT_NO_COMPONENT +#include <qtopia/taskbarappletinterface.h> +#endif #include <qframe.h> @@ -34,7 +36,8 @@ struct TaskbarApplet #ifndef QT_NO_COMPONENT QLibrary *library; -#endif TaskbarAppletInterface *iface; +#endif QWidget *applet; + QString name; }; @@ -43,14 +46,11 @@ class SysTray : public QFrame { 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; |