-rw-r--r-- | libopie/owait.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/libopie/owait.h b/libopie/owait.h index d22e141..6217e31 100644 --- a/libopie/owait.h +++ b/libopie/owait.h | |||
@@ -29,15 +29,19 @@ | |||
29 | 29 | ||
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 | * | ||
33 | * @short modal hour glass dialog | ||
34 | * @see QDialog | ||
35 | * @author Maximilian Reiß | ||
32 | */ | 36 | */ |
33 | class OWait : public QDialog { | 37 | class OWait : public QDialog { |
34 | 38 | ||
35 | Q_OBJECT | 39 | Q_OBJECT |
36 | 40 | ||
37 | public: | 41 | public: |
38 | OWait(QWidget *parent=0,const char* msg=0,bool dispIcon=TRUE); | 42 | OWait(QWidget *parent=0,const char* name=0, bool dispIcon=TRUE); |
39 | ~OWait(); | 43 | ~OWait(); |
40 | 44 | ||
41 | /** | 45 | /** |
42 | * reimplemented for control reasons | 46 | * reimplemented for control reasons |
43 | */ | 47 | */ |
@@ -45,9 +49,10 @@ public: | |||
45 | 49 | ||
46 | /** | 50 | /** |
47 | * Set the time before the icon will be automaticly hidden | 51 | * Set the time before the icon will be automaticly hidden |
52 | * The timer will be started once the widget will be shown. | ||
48 | * @param length - time in seconds | 53 | * @param length - time in seconds |
49 | */ | 54 | */ |
50 | void setTimerLength( int length ); | 55 | void setTimerLength( int length ); |
51 | 56 | ||
52 | public slots: | 57 | public slots: |
53 | /** | 58 | /** |
@@ -57,7 +62,7 @@ public: | |||
57 | 62 | ||
58 | private: | 63 | private: |
59 | void timerEvent( QTimerEvent * ) ; | 64 | void timerEvent( QTimerEvent * ) ; |
60 | void paintEvent( QPaintEvent * ); | 65 | void paintEvent( QPaintEvent * ); |
61 | 66 | ||
62 | QPixmap m_pix; | 67 | QPixmap m_pix; |
63 | QLabel *m_lb; | 68 | QLabel *m_lb; |