summaryrefslogtreecommitdiffstats
path: root/kuser/pwddlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kuser/pwddlg.cpp')
-rw-r--r--kuser/pwddlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kuser/pwddlg.cpp b/kuser/pwddlg.cpp
index a6f531e..d25267c 100644
--- a/kuser/pwddlg.cpp
+++ b/kuser/pwddlg.cpp
@@ -25,21 +25,21 @@
#include "pwddlg.h"
#include "misc.h"
-pwddlg::pwddlg( TQWidget* parent, const char* name )
- : KDialogBase(parent, name, true, i18n("Enter Password"), Ok | Cancel, Ok, true)
+pwddlg::pwddlg( TQWidget* tqparent, const char* name )
+ : KDialogBase(tqparent, name, true, i18n("Enter Password"), Ok | Cancel, Ok, true)
{
- TQGrid *page = makeGridMainWidget(2, TQGrid::Horizontal);
+ TQGrid *page = makeGridMainWidget(2, Qt::Horizontal);
TQLabel* lb1 = new TQLabel(page, "lb1");
lb1->setText(i18n("Password:"));
- lb1->setMinimumSize(lb1->sizeHint());
- lb1->setAlignment(AlignRight|AlignVCenter);
+ lb1->setMinimumSize(lb1->tqsizeHint());
+ lb1->tqsetAlignment(AlignRight|AlignVCenter);
lepw1 = new KLineEdit(page, "LineEdit_1");
// ensure it fits at least 12 characters
lepw1->setText( "XXXXXXXXXXXX" );
- lepw1->setMinimumSize(lepw1->sizeHint());
+ lepw1->setMinimumSize(lepw1->tqsizeHint());
// clear text
lepw1->clear();
@@ -48,14 +48,14 @@ pwddlg::pwddlg( TQWidget* parent, const char* name )
TQLabel* lb2 = new TQLabel(page, "lb2");
lb2->setText(i18n("Verify:"));
- lb2->setMinimumSize(lb2->sizeHint());
- lb2->setAlignment(AlignRight|AlignVCenter);
+ lb2->setMinimumSize(lb2->tqsizeHint());
+ lb2->tqsetAlignment(AlignRight|AlignVCenter);
lepw2 = new KLineEdit(page, "LineEdit_2");
// ensure it fits at least 12 characters
lepw2->setText( "XXXXXXXXXXXX" );
- lepw2->setMinimumSize(lepw2->sizeHint());
+ lepw2->setMinimumSize(lepw2->tqsizeHint());
// clear text
lepw2->clear();