-rw-r--r-- | core/launcher/taskbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/launcher/taskbar.h b/core/launcher/taskbar.h index cd631ef..a0bf395 100644 --- a/core/launcher/taskbar.h +++ b/core/launcher/taskbar.h | |||
@@ -16,69 +16,70 @@ | |||
16 | ** Contact info@trolltech.com if any conditions of this licensing are | 16 | ** Contact info@trolltech.com if any conditions of this licensing are |
17 | ** not clear to you. | 17 | ** not clear to you. |
18 | ** | 18 | ** |
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | 20 | ||
21 | #ifndef __TASKBAR_H__ | 21 | #ifndef __TASKBAR_H__ |
22 | #define __TASKBAR_H__ | 22 | #define __TASKBAR_H__ |
23 | 23 | ||
24 | #include <qhbox.h> | 24 | #include <qhbox.h> |
25 | 25 | ||
26 | class QLabel; | 26 | class QLabel; |
27 | class QTimer; | 27 | class QTimer; |
28 | class InputMethods; | 28 | class InputMethods; |
29 | class Wait; | 29 | class Wait; |
30 | class SysTray; | 30 | class SysTray; |
31 | //class MRUList; | 31 | //class MRUList; |
32 | class RunningAppBar; | 32 | class RunningAppBar; |
33 | class QWidgetStack; | 33 | class QWidgetStack; |
34 | class QTimer; | 34 | class QTimer; |
35 | class QLabel; | 35 | class QLabel; |
36 | class StartMenu; | 36 | class StartMenu; |
37 | class LockKeyState; | 37 | class LockKeyState; |
38 | 38 | ||
39 | class TaskBar : public QHBox { | 39 | class TaskBar : public QHBox { |
40 | Q_OBJECT | 40 | Q_OBJECT |
41 | public: | 41 | public: |
42 | TaskBar(); | 42 | TaskBar(); |
43 | ~TaskBar(); | 43 | ~TaskBar(); |
44 | 44 | ||
45 | static QWidget *calibrate( bool ); | 45 | static QWidget *calibrate( bool ); |
46 | 46 | ||
47 | bool recoverMemory(); | 47 | bool recoverMemory(); |
48 | 48 | ||
49 | StartMenu *startMenu() const { return sm; } | 49 | StartMenu *startMenu() const { return sm; } |
50 | public slots: | 50 | public slots: |
51 | void startWait(); | 51 | void startWait(); |
52 | void stopWait(const QString&); | 52 | void stopWait(const QString&); |
53 | void stopWait(); | 53 | void stopWait(); |
54 | void clearStatusBar(); | 54 | void clearStatusBar(); |
55 | void toggleNumLockState(); | 55 | void toggleNumLockState(); |
56 | void toggleCapsLockState(); | 56 | void toggleCapsLockState(); |
57 | void toggleSymbolInput(); | 57 | void toggleSymbolInput(); |
58 | 58 | ||
59 | protected: | 59 | protected: |
60 | void resizeEvent( QResizeEvent * ); | 60 | void resizeEvent( QResizeEvent * ); |
61 | void styleChange( QStyle & ); | 61 | void styleChange( QStyle & ); |
62 | void setStatusMessage( const QString &text ); | 62 | void setStatusMessage( const QString &text ); |
63 | 63 | ||
64 | private slots: | 64 | public slots: |
65 | void calcMaxWindowRect(); | 65 | void calcMaxWindowRect(); |
66 | private slots: | ||
66 | void receive( const QCString &msg, const QByteArray &data ); | 67 | void receive( const QCString &msg, const QByteArray &data ); |
67 | 68 | ||
68 | private: | 69 | private: |
69 | 70 | ||
70 | QTimer *waitTimer; | 71 | QTimer *waitTimer; |
71 | Wait *waitIcon; | 72 | Wait *waitIcon; |
72 | InputMethods *inputMethods; | 73 | InputMethods *inputMethods; |
73 | SysTray *sysTray; | 74 | SysTray *sysTray; |
74 | // MRUList *mru; | 75 | // MRUList *mru; |
75 | RunningAppBar* runningAppBar; | 76 | RunningAppBar* runningAppBar; |
76 | QWidgetStack *stack; | 77 | QWidgetStack *stack; |
77 | QTimer *clearer; | 78 | QTimer *clearer; |
78 | QLabel *label; | 79 | QLabel *label; |
79 | LockKeyState* lockState; | 80 | LockKeyState* lockState; |
80 | StartMenu *sm; | 81 | StartMenu *sm; |
81 | }; | 82 | }; |
82 | 83 | ||
83 | 84 | ||
84 | #endif // __TASKBAR_H__ | 85 | #endif // __TASKBAR_H__ |