summaryrefslogtreecommitdiffstats
path: root/knights/dlg_login.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/dlg_login.cpp')
-rw-r--r--knights/dlg_login.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/knights/dlg_login.cpp b/knights/dlg_login.cpp
index 103ff91..550b837 100644
--- a/knights/dlg_login.cpp
+++ b/knights/dlg_login.cpp
@@ -17,8 +17,8 @@
#include "dlg_login.moc"
-dlg_login::dlg_login(QWidget *parent, const char *name, resource *rsrc) :
- KDialogBase(parent, name, TRUE, i18n("Login Prompt"), Help|Ok|Cancel, Ok,TRUE )
+dlg_login::dlg_login(TQWidget *tqparent, const char *name, resource *rsrc) :
+ KDialogBase(tqparent, name, TRUE, i18n("Login Prompt"), Help|Ok|Cancel, Ok,TRUE )
{
serverList::Iterator i;
serverList::Iterator currentServer;
@@ -29,7 +29,7 @@ dlg_login::dlg_login(QWidget *parent, const char *name, resource *rsrc) :
BOX_Parent = makeVBoxMainWidget();
/* Select which server to connect to */
- GROUP_Select_Server = new QGroupBox( 1, Qt::Vertical, i18n( "Select Server" ), BOX_Parent );
+ GROUP_Select_Server = new TQGroupBox( 1, Qt::Vertical, i18n( "Select Server" ), BOX_Parent );
COMBO_Select_Server = new KComboBox ( GROUP_Select_Server );
COMBO_Select_Server->setEditable( FALSE );
@@ -46,26 +46,26 @@ dlg_login::dlg_login(QWidget *parent, const char *name, resource *rsrc) :
counter++;
}
/* connect to right signal to the combobox */
- connect( COMBO_Select_Server, SIGNAL( activated(const QString &) ), this, SLOT( slotUpdateUser(const QString &) ) );
+ connect( COMBO_Select_Server, TQT_SIGNAL( activated(const TQString &) ), this, TQT_SLOT( slotUpdateUser(const TQString &) ) );
- GROUP_Username = new QGroupBox( 1, Qt::Horizontal, i18n("User info"), BOX_Parent);
- BOX_ALIGN = new QHBox( GROUP_Username );
- BOX_TEXT = new QVBox( BOX_ALIGN );
- TEXT_Login = new QLabel( BOX_TEXT );
- TEXT_Password = new QLabel( BOX_TEXT );
+ GROUP_Username = new TQGroupBox( 1, Qt::Horizontal, i18n("User info"), BOX_Parent);
+ BOX_ALIGN = new TQHBox( GROUP_Username );
+ BOX_TEXT = new TQVBox( BOX_ALIGN );
+ TEXT_Login = new TQLabel( BOX_TEXT );
+ TEXT_Password = new TQLabel( BOX_TEXT );
TEXT_Login->setText( i18n("Login:") );
TEXT_Password->setText( i18n("Password:") );
- BOX_EDIT = new QVBox( BOX_ALIGN );
+ BOX_EDIT = new TQVBox( BOX_ALIGN );
EDIT_Login = new KLineEdit( BOX_EDIT );
EDIT_Password = new KLineEdit( BOX_EDIT );
- CHECKBOX_GUEST = new QCheckBox(i18n("Log in as guest"), GROUP_Username);
+ CHECKBOX_GUEST = new TQCheckBox(i18n("Log in as guest"), GROUP_Username);
- EDIT_Password->setEchoMode( QLineEdit::Password );
+ EDIT_Password->setEchoMode( TQLineEdit::Password );
- connect(CHECKBOX_GUEST, SIGNAL(toggled(bool)), this, SLOT(slotGuestToggle(bool)));
+ connect(CHECKBOX_GUEST, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotGuestToggle(bool)));
/* Init the buttons */
showButtonCancel( TRUE );
@@ -125,7 +125,7 @@ void dlg_login::slotGuestToggle( bool on )
// dlg_login::slotUpdateUser
//
///////////////////////////////////////
-void dlg_login::slotUpdateUser(const QString &name)
+void dlg_login::slotUpdateUser(const TQString &name)
{
/* this function retrieves the correct serverResource from
the resources and uses that to fill in the username and