summaryrefslogtreecommitdiffstats
path: root/src/enterxauthinteractivepasscodedialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
commit1b89319fd93b88313cab40f1e9de24c067b04efb (patch)
tree80132996de993c3dcab4040864d7729842875b2d /src/enterxauthinteractivepasscodedialog.cpp
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
Diffstat (limited to 'src/enterxauthinteractivepasscodedialog.cpp')
-rw-r--r--src/enterxauthinteractivepasscodedialog.cpp14
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();
}
}