diff options
Diffstat (limited to 'src/enterxauthinteractivepasscodedialog.cpp')
-rw-r--r-- | src/enterxauthinteractivepasscodedialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/enterxauthinteractivepasscodedialog.cpp b/src/enterxauthinteractivepasscodedialog.cpp index 9ea8562..32d0e3c 100644 --- a/src/enterxauthinteractivepasscodedialog.cpp +++ b/src/enterxauthinteractivepasscodedialog.cpp @@ -19,19 +19,19 @@ ***************************************************************************/ #include "enterxauthinteractivepasscodedialog.h" -#include <qdialog.h> +#include <tqdialog.h> #include <kmessagebox.h> #include <klocale.h> -#include <qlineedit.h> -#include <qlabel.h> -#include <qdialog.h> +#include <tqlineedit.h> +#include <tqlabel.h> +#include <tqdialog.h> -EnterXauthInteractivePasscodeDialog::EnterXauthInteractivePasscodeDialog( QWidget *parent, bool allowEmptyPassword ) : KDialogBase( parent, "Enter Xauth interactive passcode", true, "Enter Xauth interactive passcode", KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true ) { +EnterXauthInteractivePasscodeDialog::EnterXauthInteractivePasscodeDialog( TQWidget *parent, bool allowEmptyPassword ) : KDialogBase( parent, "Enter Xauth interactive passcode", true, "Enter Xauth interactive passcode", KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok, true ) { Password = ""; this->allowEmptyPassword = allowEmptyPassword; main = new EnterXauthInteractivePasscodeDialogBase( this ); setMainWidget( main ); - main->setMinimumSize( main->sizeHint() ); + main->setMinimumSize( main->tqsizeHint() ); } EnterXauthInteractivePasscodeDialog::~ EnterXauthInteractivePasscodeDialog() { @@ -48,6 +48,6 @@ void EnterXauthInteractivePasscodeDialog::accept() { if ( ok ) { Password = main->PasswordEdit->text(); - QDialog::accept(); + TQDialog::accept(); } } |