summaryrefslogtreecommitdiff
path: root/core/launcher/systray.h
Side-by-side diff
Diffstat (limited to 'core/launcher/systray.h') (more/less context) (show 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
@@ -18,43 +18,43 @@
**
**********************************************************************/
#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>
class QHBoxLayout;
class QLibrary;
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;
};
#endif // __SYSTRAY_H__