summaryrefslogtreecommitdiffstats
path: root/kuser/pwddlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 20:34:22 +0000
commitb09bffed6b43262948018dfb0f11890850ddf7c1 (patch)
tree138696bfcc7ac01070d0e8ecaa1cdf94611a2bd8 /kuser/pwddlg.cpp
parent6d43944a7130b9d1b4ae3fba37b774aced8612cf (diff)
downloadtdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.tar.gz
tdeadmin-b09bffed6b43262948018dfb0f11890850ddf7c1.zip
TQt4 port kdeadmin
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1237416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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();