diff options
Diffstat (limited to 'certmanager/lib/ui/passphrasedialog.cpp')
-rw-r--r-- | certmanager/lib/ui/passphrasedialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/certmanager/lib/ui/passphrasedialog.cpp b/certmanager/lib/ui/passphrasedialog.cpp index 5915387f5..a0bc7295e 100644 --- a/certmanager/lib/ui/passphrasedialog.cpp +++ b/certmanager/lib/ui/passphrasedialog.cpp @@ -56,33 +56,33 @@ #include <kiconloader.h> #include <klocale.h> -#include <qlabel.h> -#include <qlayout.h> -#include <qfontmetrics.h> +#include <tqlabel.h> +#include <tqlayout.h> +#include <tqfontmetrics.h> struct Kleo::PassphraseDialog::Private { KPasswordEdit * lineedit; }; -Kleo::PassphraseDialog::PassphraseDialog( const QString & msg, const QString & caption, - QWidget * parent, const char * name, bool modal ) +Kleo::PassphraseDialog::PassphraseDialog( const TQString & msg, const TQString & caption, + TQWidget * parent, const char * name, bool modal ) : KDialogBase( parent, name, modal, caption, Ok|Cancel, Ok ), d( 0 ) { d = new Private(); - QWidget * w = new QWidget( this ); + TQWidget * w = new TQWidget( this ); setMainWidget( w ); - QHBoxLayout * hlay = new QHBoxLayout( w, 0, spacingHint() ); + TQHBoxLayout * hlay = new TQHBoxLayout( w, 0, spacingHint() ); - QLabel * label = new QLabel( w ); + TQLabel * label = new TQLabel( w ); label->setPixmap( DesktopIcon( "pgp-keys", KIcon::SizeMedium ) ); hlay->addWidget( label, 0, AlignTop ); - QVBoxLayout * vlay = new QVBoxLayout( hlay ); // inherits spacing + TQVBoxLayout * vlay = new TQVBoxLayout( hlay ); // inherits spacing - vlay->addWidget( new QLabel( msg.isEmpty() ? i18n("Please enter your passphrase:") : msg, w ) ); + vlay->addWidget( new TQLabel( msg.isEmpty() ? i18n("Please enter your passphrase:") : msg, w ) ); d->lineedit = new KPasswordEdit( KPasswordEdit::OneStar, w, "d->lineedit" ); d->lineedit->setMinimumWidth( fontMetrics().width("*") * 20 ); @@ -90,7 +90,7 @@ Kleo::PassphraseDialog::PassphraseDialog( const QString & msg, const QString & c vlay->addWidget( d->lineedit ); - connect( d->lineedit, SIGNAL(returnPressed()), SLOT(slotOk()) ); + connect( d->lineedit, TQT_SIGNAL(returnPressed()), TQT_SLOT(slotOk()) ); disableResize(); } |