-rw-r--r-- | core/launcher/shutdownimpl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/launcher/shutdownimpl.h b/core/launcher/shutdownimpl.h index 12b859d..07f797e 100644 --- a/core/launcher/shutdownimpl.h +++ b/core/launcher/shutdownimpl.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 | ** |
@@ -25,27 +25,27 @@ | |||
25 | class QTimer; | 25 | class QTimer; |
26 | class QLabel; | 26 | class QLabel; |
27 | class QProgressBar; | 27 | class QProgressBar; |
28 | 28 | ||
29 | class ShutdownImpl : public QWidget | 29 | class ShutdownImpl : public QWidget |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | public: | 32 | public: |
33 | ShutdownImpl( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | 33 | ShutdownImpl( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); |
34 | 34 | ||
35 | enum Type { ShutdownSystem, RebootSystem, RestartDesktop, TerminateDesktop }; | 35 | enum Type { ShutdownSystem, RebootSystem, RestartDesktop, TerminateDesktop }; |
36 | 36 | ||
37 | virtual void hide ( ); | 37 | virtual void hide ( ); |
38 | 38 | ||
39 | signals: | 39 | signals: |
40 | void shutdown( ShutdownImpl::Type ); | 40 | void shutdown( ShutdownImpl::Type ); |
41 | 41 | ||
42 | private slots: | 42 | private slots: |
43 | void buttonClicked( int ); | 43 | void buttonClicked( int ); |
44 | void cancelClicked(); | 44 | void cancelClicked(); |
45 | void timeout(); | 45 | void timeout(); |
46 | 46 | ||
47 | private: | 47 | private: |
48 | QTimer *m_timer; | 48 | QTimer *m_timer; |
49 | int m_counter; | 49 | int m_counter; |
50 | Type m_operation; | 50 | Type m_operation; |
51 | 51 | ||