summaryrefslogtreecommitdiffstats
path: root/tdeio/tdeio/passdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tdeio/passdlg.cpp')
-rw-r--r--tdeio/tdeio/passdlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeio/tdeio/passdlg.cpp b/tdeio/tdeio/passdlg.cpp
index 91fba050d..c0109f3cf 100644
--- a/tdeio/tdeio/passdlg.cpp
+++ b/tdeio/tdeio/passdlg.cpp
@@ -87,13 +87,13 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
{
lbl = new TQLabel( main );
lbl->setPixmap( pix );
- lbl->setAlignment( Qt::AlignLeft|Qt::AlignVCenter );
+ lbl->setAlignment( TQt::AlignLeft|TQt::AlignVCenter );
lbl->setFixedSize( lbl->sizeHint() );
- d->layout->addWidget( lbl, 0, 0, Qt::AlignLeft );
+ d->layout->addWidget( lbl, 0, 0, TQt::AlignLeft );
}
d->prompt = new TQLabel( main );
- d->prompt->setAlignment( Qt::AlignLeft|Qt::AlignVCenter|TQt::WordBreak );
- d->layout->addWidget( d->prompt, 0, 2, Qt::AlignLeft );
+ d->prompt->setAlignment( TQt::AlignLeft|TQt::AlignVCenter|TQt::WordBreak );
+ d->layout->addWidget( d->prompt, 0, 2, TQt::AlignLeft );
if ( prompt.isEmpty() )
setPrompt( i18n( "You need to supply a username and a password" ) );
else
@@ -106,7 +106,7 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
// Row 4: Username field
d->userNameLabel = new TQLabel( i18n("&Username:"), main );
- d->userNameLabel->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );
+ d->userNameLabel->setAlignment( TQt::AlignVCenter | TQt::AlignLeft );
d->userNameLabel->setFixedSize( d->userNameLabel->sizeHint() );
d->userNameHBox = new TQHBox( main );
@@ -123,7 +123,7 @@ void PasswordDialog::init( const TQString& prompt, const TQString& user,
// Row 6: Password field
lbl = new TQLabel( i18n("&Password:"), main );
- lbl->setAlignment( Qt::AlignVCenter | Qt::AlignLeft );
+ lbl->setAlignment( TQt::AlignVCenter | TQt::AlignLeft );
lbl->setFixedSize( lbl->sizeHint() );
TQHBox* hbox = new TQHBox( main );
d->passEdit = new KLineEdit( hbox );
@@ -239,13 +239,13 @@ void PasswordDialog::addCommentLine( const TQString& label,
TQWidget *main = mainWidget();
TQLabel* lbl = new TQLabel( label, main);
- lbl->setAlignment( Qt::AlignVCenter|Qt::AlignRight );
+ lbl->setAlignment( TQt::AlignVCenter|TQt::AlignRight );
lbl->setFixedSize( lbl->sizeHint() );
- d->layout->addWidget( lbl, d->nRow+2, 0, Qt::AlignLeft );
+ d->layout->addWidget( lbl, d->nRow+2, 0, TQt::AlignLeft );
lbl = new TQLabel( comment, main);
- lbl->setAlignment( Qt::AlignVCenter|Qt::AlignLeft|TQt::WordBreak );
+ lbl->setAlignment( TQt::AlignVCenter|TQt::AlignLeft|TQt::WordBreak );
calculateLabelSize(lbl);
- d->layout->addWidget( lbl, d->nRow+2, 2, Qt::AlignLeft );
+ d->layout->addWidget( lbl, d->nRow+2, 2, TQt::AlignLeft );
d->layout->addRowSpacing( 3, 10 ); // Add a spacer
d->nRow++;
}