Diffstat (limited to 'pwmanager/pwmanager/rencatwnd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | pwmanager/pwmanager/rencatwnd.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pwmanager/pwmanager/rencatwnd.cpp b/pwmanager/pwmanager/rencatwnd.cpp index 3c4de27..3ca758c 100644 --- a/pwmanager/pwmanager/rencatwnd.cpp +++ b/pwmanager/pwmanager/rencatwnd.cpp | |||
@@ -20,16 +20,19 @@ | |||
20 | #include "rencatwnd.h" | 20 | #include "rencatwnd.h" |
21 | 21 | ||
22 | #include <klocale.h> | 22 | #include <klocale.h> |
23 | //Added by qt3to4: | ||
24 | #include <QResizeEvent> | ||
25 | #include <QLabel> | ||
23 | 26 | ||
24 | 27 | ||
25 | RenCatWnd::RenCatWnd(QWidget *parent, | 28 | RenCatWnd::RenCatWnd(QWidget *parent, |
26 | const char *name, bool modal, WFlags f) | 29 | const char *name, bool modal, Qt::WFlags f) |
27 | : QDialog(parent, name, true, f) | 30 | : QDialog(parent, name, true, f) |
28 | { | 31 | { |
29 | vbox1 = new QVBox(this); | 32 | vbox1 = new Q3VBox(this); |
30 | label = new QLabel(vbox1); | 33 | label = new QLabel(vbox1); |
31 | newName = new QLineEdit(vbox1); | 34 | newName = new QLineEdit(vbox1); |
32 | hbox1 = new QHBox(vbox1); | 35 | hbox1 = new Q3HBox(vbox1); |
33 | okButton = new QPushButton(i18n("&Ok"), hbox1); | 36 | okButton = new QPushButton(i18n("&Ok"), hbox1); |
34 | cancelButton = new QPushButton(i18n("&Cancel"), hbox1); | 37 | cancelButton = new QPushButton(i18n("&Cancel"), hbox1); |
35 | 38 | ||
@@ -65,6 +68,6 @@ void RenCatWnd::cancelButton_slot() | |||
65 | done(2); | 68 | done(2); |
66 | } | 69 | } |
67 | 70 | ||
68 | #ifndef PWM_EMBEDDED | 71 | #ifndef PWM_EMBEDDED_ |
69 | #include "rencatwnd.moc" | 72 | #include "moc_rencatwnd.cpp" |
70 | #endif | 73 | #endif |