From 6ae5aaad2dec2470940f83f1e8629aec48f284a7 Mon Sep 17 00:00:00 2001 From: zecke Date: Thu, 28 Aug 2003 14:48:13 +0000 Subject: Plugin loading changes --- (limited to 'core/launcher/systray.h') 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 +#ifndef QT_NO_COMPONENT +#include +#endif #include #include @@ -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 appletList; }; -- cgit v0.9.0.2