Diffstat (limited to 'pwmanager/pwmanager/waitwnd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/waitwnd.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pwmanager/pwmanager/waitwnd.cpp b/pwmanager/pwmanager/waitwnd.cpp index a3f25cc..d4676a9 100644 --- a/pwmanager/pwmanager/waitwnd.cpp +++ b/pwmanager/pwmanager/waitwnd.cpp | |||
@@ -22,6 +22,10 @@ | |||
22 | #include "pwmexception.h" | 22 | #include "pwmexception.h" |
23 | 23 | ||
24 | #include <qmessagebox.h> | 24 | #include <qmessagebox.h> |
25 | //Added by qt3to4: | ||
26 | #include <QResizeEvent> | ||
27 | #include <QCloseEvent> | ||
28 | #include <QLabel> | ||
25 | 29 | ||
26 | #include <klocale.h> | 30 | #include <klocale.h> |
27 | 31 | ||
@@ -29,11 +33,11 @@ | |||
29 | WaitWnd::WaitWnd(QString caption, QString _staticText, | 33 | WaitWnd::WaitWnd(QString caption, QString _staticText, |
30 | bool showCancelButton, bool showGenericText, | 34 | bool showCancelButton, bool showGenericText, |
31 | QWidget *parent, | 35 | QWidget *parent, |
32 | const char *name, bool modal, WFlags f) | 36 | const char *name, bool modal, Qt::WFlags f) |
33 | : QDialog(parent, name, modal, f) | 37 | : QDialog(parent, name, modal, f) |
34 | { | 38 | { |
35 | canClose = false; | 39 | canClose = false; |
36 | vbox1 = new QVBox(this); | 40 | vbox1 = new Q3VBox(this); |
37 | staticText = new QLabel(vbox1); | 41 | staticText = new QLabel(vbox1); |
38 | if (showGenericText) { | 42 | if (showGenericText) { |
39 | genericText = new QLabel(vbox1); | 43 | genericText = new QLabel(vbox1); |
@@ -89,6 +93,6 @@ void WaitWnd::updateGenericText(const QString &text) | |||
89 | genericText->setText(text); | 93 | genericText->setText(text); |
90 | } | 94 | } |
91 | 95 | ||
92 | #ifndef PWM_EMBEDDED | 96 | #ifndef PWM_EMBEDDED_ |
93 | #include "waitwnd.moc" | 97 | #include "moc_waitwnd.cpp" |
94 | #endif | 98 | #endif |