diff options
Diffstat (limited to 'src/enterpassworddialog.cpp')
-rw-r--r-- | src/enterpassworddialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/enterpassworddialog.cpp b/src/enterpassworddialog.cpp index 59f74a9..0946d2b 100644 --- a/src/enterpassworddialog.cpp +++ b/src/enterpassworddialog.cpp @@ -19,15 +19,15 @@ ***************************************************************************/ #include "enterpassworddialog.h" -#include <qdialog.h> +#include <tqdialog.h> #include <kmessagebox.h> #include <klocale.h> -#include <qlineedit.h> -#include <qlabel.h> -#include <qdialog.h> -#include <qcheckbox.h> +#include <tqlineedit.h> +#include <tqlabel.h> +#include <tqdialog.h> +#include <tqcheckbox.h> -EnterUsernamePasswordDialog::EnterUsernamePasswordDialog(QWidget *parent, const QString& caption,bool askForGrouppassword, bool askForUsername) : KDialogBase( parent, "Enter_account_data", true, caption, +EnterUsernamePasswordDialog::EnterUsernamePasswordDialog(TQWidget *parent, const TQString& caption,bool askForGrouppassword, bool askForUsername) : KDialogBase( parent, "Enter_account_data", true, caption, KDialogBase::Ok|KDialogBase::Cancel, KDialogBase::Ok, true ) { @@ -36,7 +36,7 @@ EnterUsernamePasswordDialog::EnterUsernamePasswordDialog(QWidget *parent, const main = new EnterUsernamePasswordDialogBase(this); setMainWidget(main); - main->setMinimumSize(main->sizeHint()); + main->setMinimumSize(main->tqsizeHint()); if (!askForGrouppassword) { @@ -55,7 +55,7 @@ EnterUsernamePasswordDialog::EnterUsernamePasswordDialog(QWidget *parent, const if (!askForUsername) main->SaveUsernameCheckBox->hide(); - main->textLabel2->setText( QString("<b><font size=\"+1\">"+i18n( "Enter account data:")+"</b></font>" )); + main->textLabel2->setText( TQString("<b><font size=\"+1\">"+i18n( "Enter account data:")+"</b></font>" )); } EnterUsernamePasswordDialog::~ EnterUsernamePasswordDialog() @@ -68,7 +68,7 @@ void EnterUsernamePasswordDialog::accept() { bool ok=true; - QString msg=""; + TQString msg=""; if (askForGrouppassword){ if( main->PSKLineEdit->text().isEmpty()) msg+="\n- "+i18n("PSK"); @@ -83,12 +83,12 @@ void EnterUsernamePasswordDialog::accept() } if (!msg.isEmpty()) { - KMessageBox::sorry( 0, i18n( "All fields must be filled in. Please check:\n%1").arg(msg)); + KMessageBox::sorry( 0, i18n( "All fields must be filled in. Please check:\n%1").tqarg(msg)); ok=false; } if (ok) - QDialog::accept(); + TQDialog::accept(); } |