-rw-r--r-- | libopie/owait.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libopie/owait.cpp b/libopie/owait.cpp index c90bb72..0fdf08d 100644 --- a/libopie/owait.cpp +++ b/libopie/owait.cpp | |||
@@ -24,18 +24,28 @@ | |||
24 | #include <qpainter.h> | 24 | #include <qpainter.h> |
25 | 25 | ||
26 | #include "owait.h" | 26 | #include "owait.h" |
27 | 27 | ||
28 | #include <qpe/resource.h> | 28 | #include <qpe/resource.h> |
29 | 29 | ||
30 | static int frame = 0; | 30 | static int frame = 0; |
31 | 31 | ||
32 | /** | ||
33 | * This will construct a modal dialog. | ||
34 | * | ||
35 | * The default timer length is 10. | ||
36 | * | ||
37 | * @param parent The parent of the widget | ||
38 | * @param msg The name of the object | ||
39 | * @param dispIcon Display Icon? | ||
40 | */ | ||
32 | OWait::OWait(QWidget *parent, const char* msg, bool dispIcon ) | 41 | OWait::OWait(QWidget *parent, const char* msg, bool dispIcon ) |
33 | :QDialog(parent, QObject::tr("Wait"), TRUE,WStyle_Customize) { | 42 | :QDialog(parent, msg, TRUE,WStyle_Customize) { |
43 | |||
34 | 44 | ||
35 | QHBoxLayout *hbox = new QHBoxLayout( this ); | 45 | QHBoxLayout *hbox = new QHBoxLayout( this ); |
36 | 46 | ||
37 | m_lb = new QLabel( this ); | 47 | m_lb = new QLabel( this ); |
38 | m_lb->setBackgroundMode ( NoBackground ); | 48 | m_lb->setBackgroundMode ( NoBackground ); |
39 | 49 | ||
40 | hbox->addWidget( m_lb ); | 50 | hbox->addWidget( m_lb ); |
41 | hbox->activate(); | 51 | hbox->activate(); |