summaryrefslogtreecommitdiff
path: root/core/launcher/systray.h
Unidiff
Diffstat (limited to 'core/launcher/systray.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/systray.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/launcher/systray.h b/core/launcher/systray.h
index 0aed348..5a6849a 100644
--- a/core/launcher/systray.h
+++ b/core/launcher/systray.h
@@ -1,10 +1,10 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
@@ -40,18 +40,21 @@ struct TaskbarApplet
40 40
41class SysTray : public QFrame { 41class SysTray : public QFrame {
42 Q_OBJECT 42 Q_OBJECT
43public: 43public:
44 SysTray( QWidget *parent ); 44 SysTray( QWidget *parent );
45 45
46 void loadApplets(); 46 void clearApplets();
47 void addApplets();
47 48
48private: 49protected:
49 void positionApplet( const TaskbarApplet &a ); 50 void timerEvent(QTimerEvent* e);
50 51
51private: 52private:
53 void loadApplets();
54 int safety_tid;
52 QHBoxLayout *layout; 55 QHBoxLayout *layout;
53 QValueList<TaskbarApplet> appletList; 56 QValueList<TaskbarApplet> appletList;
54}; 57};
55 58
56 59
57#endif // __SYSTRAY_H__ 60#endif // __SYSTRAY_H__