-rw-r--r-- | libopie/owait.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie/owait.h b/libopie/owait.h index 6217e31..cbfc8d6 100644 --- a/libopie/owait.h +++ b/libopie/owait.h | |||
@@ -30,24 +30,25 @@ | |||
30 | /** | 30 | /** |
31 | * This class displays a animated waiting icon in the middle of the screen. | 31 | * This class displays a animated waiting icon in the middle of the screen. |
32 | * | 32 | * |
33 | * @short modal hour glass dialog | 33 | * @short modal hour glass dialog |
34 | * @see QDialog | 34 | * @see QDialog |
35 | * @author Maximilian Reiß | 35 | * @author Maximilian Reiß |
36 | */ | 36 | */ |
37 | class OWait : public QDialog { | 37 | class OWait : public QDialog { |
38 | 38 | ||
39 | Q_OBJECT | 39 | Q_OBJECT |
40 | 40 | ||
41 | public: | 41 | public: |
42 | // FIXME Wflags -zecke? | ||
42 | OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE); | 43 | OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE); |
43 | ~OWait(); | 44 | ~OWait(); |
44 | 45 | ||
45 | /** | 46 | /** |
46 | * reimplemented for control reasons | 47 | * reimplemented for control reasons |
47 | */ | 48 | */ |
48 | void show(); | 49 | void show(); |
49 | 50 | ||
50 | /** | 51 | /** |
51 | * Set the time before the icon will be automaticly hidden | 52 | * Set the time before the icon will be automaticly hidden |
52 | * The timer will be started once the widget will be shown. | 53 | * The timer will be started once the widget will be shown. |
53 | * @param length - time in seconds | 54 | * @param length - time in seconds |
@@ -60,15 +61,17 @@ public: | |||
60 | */ | 61 | */ |
61 | void hide(); | 62 | void hide(); |
62 | 63 | ||
63 | private: | 64 | private: |
64 | void timerEvent( QTimerEvent * ) ; | 65 | void timerEvent( QTimerEvent * ) ; |
65 | void paintEvent( QPaintEvent * ); | 66 | void paintEvent( QPaintEvent * ); |
66 | 67 | ||
67 | QPixmap m_pix; | 68 | QPixmap m_pix; |
68 | QLabel *m_lb; | 69 | QLabel *m_lb; |
69 | QTimer *m_waitTimer; | 70 | QTimer *m_waitTimer; |
70 | int m_timerLength; | 71 | int m_timerLength; |
71 | int m_aniSize; | 72 | int m_aniSize; |
73 | class Private; | ||
74 | Private *d; | ||
72 | }; | 75 | }; |
73 | 76 | ||
74 | #endif | 77 | #endif |