summaryrefslogtreecommitdiffabout
path: root/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
Side-by-side diff
Diffstat (limited to 'pwmanager/pwmanager/getmasterpwwnd_emb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--pwmanager/pwmanager/getmasterpwwnd_emb.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
index 678f05f..7e4bbb7 100644
--- a/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
+++ b/pwmanager/pwmanager/getmasterpwwnd_emb.cpp
@@ -43,6 +43,9 @@ $Id$
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qapplication.h>
+//Added by qt3to4:
+#include <Q3GridLayout>
+#include <Q3VBoxLayout>
/*
* Constructs a getMasterPwWnd as a child of 'parent', with the
@@ -54,13 +57,13 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
KDialogBase::Ok, parent, name, true )
{
QWidget *page = plainPage();
- QVBoxLayout *pageLayout = new QVBoxLayout( page );
+ Q3VBoxLayout *pageLayout = new Q3VBoxLayout( page );
pwLineEdit = new QLineEdit( page, "pwLineEdit" );
pwLineEdit->setEchoMode( QLineEdit::Password );
QLabel* textLabel1 = new QLabel( pwLineEdit, i18n("Please enter the master-password:"), page, "textLabel1" );
- textLabel1->setAlignment( int( QLabel::WordBreak | QLabel::AlignCenter ) );
+ textLabel1->setAlignment( int( Qt::WordBreak | Qt::AlignCenter ) );
pageLayout->addWidget(textLabel1);
pageLayout->addWidget(pwLineEdit);
@@ -76,7 +79,7 @@ getMasterPwWnd::getMasterPwWnd( QWidget* parent, const char* name)
}
#endif
- QGridLayout* numberLayout = new QGridLayout( numberBox, 4, 3 );
+ Q3GridLayout* numberLayout = new Q3GridLayout( numberBox, 4, 3 );
numberLayout->setMargin( 0 );
numberLayout->setSpacing( 0 );