summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/rencatwnd.cpp
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/rencatwnd.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/rencatwnd.cpp13
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
@@ -17,22 +17,25 @@
* $Id$
**************************************************************************/
#include "rencatwnd.h"
#include <klocale.h>
+//Added by qt3to4:
+#include <QResizeEvent>
+#include <QLabel>
RenCatWnd::RenCatWnd(QWidget *parent,
- const char *name, bool modal, WFlags f)
+ const char *name, bool modal, Qt::WFlags f)
: QDialog(parent, name, true, f)
{
- vbox1 = new QVBox(this);
+ vbox1 = new Q3VBox(this);
label = new QLabel(vbox1);
newName = new QLineEdit(vbox1);
- hbox1 = new QHBox(vbox1);
+ hbox1 = new Q3HBox(vbox1);
okButton = new QPushButton(i18n("&Ok"), hbox1);
cancelButton = new QPushButton(i18n("&Cancel"), hbox1);
vbox1->setSpacing(10);
vbox1->setMargin(10);
hbox1->setSpacing(10);
@@ -62,9 +65,9 @@ void RenCatWnd::okButton_slot()
void RenCatWnd::cancelButton_slot()
{
done(2);
}
-#ifndef PWM_EMBEDDED
-#include "rencatwnd.moc"
+#ifndef PWM_EMBEDDED_
+#include "moc_rencatwnd.cpp"
#endif