Diffstat (limited to 'core/launcher/shutdownimpl.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/shutdownimpl.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/core/launcher/shutdownimpl.h b/core/launcher/shutdownimpl.h index 462f347..c2ebcc7 100644 --- a/core/launcher/shutdownimpl.h +++ b/core/launcher/shutdownimpl.h | |||
@@ -25,31 +25,31 @@ | |||
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 | signals: | 37 | signals: |
38 | void shutdown( ShutdownImpl::Type ); | 38 | void shutdown( ShutdownImpl::Type ); |
39 | 39 | ||
40 | private slots: | 40 | private slots: |
41 | void buttonClicked( int ); | 41 | void buttonClicked( int ); |
42 | void cancelClicked(); | 42 | void cancelClicked(); |
43 | void timeout(); | 43 | void timeout(); |
44 | 44 | ||
45 | private: | 45 | private: |
46 | QTimer *m_timer; | 46 | QTimer *m_timer; |
47 | int m_counter; | 47 | int m_counter; |
48 | Type m_operation; | 48 | Type m_operation; |
49 | 49 | ||
50 | QLabel * m_info; | 50 | QLabel * m_info; |
51 | QProgressBar *m_progress; | 51 | QProgressBar *m_progress; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | #endif | 54 | #endif |
55 | 55 | ||