summaryrefslogtreecommitdiffstats
path: root/knights/dlg_newmatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/dlg_newmatch.cpp')
-rw-r--r--knights/dlg_newmatch.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/knights/dlg_newmatch.cpp b/knights/dlg_newmatch.cpp
index 7d7b6af..aaecd69 100644
--- a/knights/dlg_newmatch.cpp
+++ b/knights/dlg_newmatch.cpp
@@ -59,14 +59,14 @@ KDialogBase(parent, name, TRUE, i18n("Start a New Match"), Cancel|Ok|Help, Ok, T
RADIO_White_Human = new TQRadioButton( i18n("Human"), GROUP_White_Type );
RADIO_White_PC = new TQRadioButton( i18n("Computer"), GROUP_White_Type );
RADIO_White_Email = new TQRadioButton( i18n("Email"), GROUP_White_Type );
- connect( GROUP_White_Type, TQT_SIGNAL( clicked(int)), this, TQT_SLOT( slotWhiteType(int)));
+ connect( GROUP_White_Type, TQ_SIGNAL( clicked(int)), this, TQ_SLOT( slotWhiteType(int)));
GROUP_Black_Type = new TQButtonGroup( 3, TQt::Vertical, BOX_Black_Detail );
GROUP_Black_Type->setExclusive( TRUE );
RADIO_Black_Human = new TQRadioButton( i18n("Human"), GROUP_Black_Type );
RADIO_Black_PC = new TQRadioButton( i18n("Computer"), GROUP_Black_Type );
RADIO_Black_Email = new TQRadioButton( i18n("Email"), GROUP_Black_Type );
- connect( GROUP_Black_Type, TQT_SIGNAL( clicked(int)), this, TQT_SLOT( slotBlackType(int)));
+ connect( GROUP_Black_Type, TQ_SIGNAL( clicked(int)), this, TQ_SLOT( slotBlackType(int)));
/* Disable Unconfigured Types */
if( !myResource->engines.count() )
@@ -85,34 +85,34 @@ KDialogBase(parent, name, TRUE, i18n("Start a New Match"), Cancel|Ok|Help, Ok, T
LABEL_White_Base = new TQLabel( i18n("Base Time:"), GRID_White_Time );
SPIN_White_Base = new TQSpinBox( 0, 120, 1, GRID_White_Time );
SPIN_White_Base->setSuffix( i18n(" min.") );
- connect( SPIN_White_Base, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotWhiteBase(int)));
+ connect( SPIN_White_Base, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotWhiteBase(int)));
LABEL_White_Moves = new TQLabel( i18n("Moves Per Base Time"), GRID_White_Time );
SPIN_White_Moves = new TQSpinBox( 0, 100, 5, GRID_White_Time );
SPIN_White_Moves->setSuffix( i18n(" moves") );
- connect( SPIN_White_Moves, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotWhiteMoves(int)));
+ connect( SPIN_White_Moves, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotWhiteMoves(int)));
LABEL_White_Inc = new TQLabel( i18n("Increment Per Move"), GRID_White_Time );
SPIN_White_Inc = new TQSpinBox( 0, 120, 1, GRID_White_Time );
SPIN_White_Inc->setSuffix( i18n(" sec.") );
- connect( SPIN_White_Inc, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotWhiteInc(int)));
+ connect( SPIN_White_Inc, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotWhiteInc(int)));
/* Time for Black */
GRID_Black_Time = new TQGrid( 2, TQt::Horizontal, BOX_Black );
LABEL_Black_Base = new TQLabel( i18n("Base Time:"), GRID_Black_Time );
SPIN_Black_Base = new TQSpinBox( 0, 120, 1, GRID_Black_Time );
SPIN_Black_Base->setSuffix( i18n(" min.") );
- connect( SPIN_Black_Base, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotBlackBase(int)));
+ connect( SPIN_Black_Base, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotBlackBase(int)));
LABEL_Black_Moves = new TQLabel( i18n("Moves Per Base Time"), GRID_Black_Time );
SPIN_Black_Moves = new TQSpinBox( 0, 100, 5, GRID_Black_Time );
SPIN_Black_Moves->setSuffix( i18n(" moves") );
- connect( SPIN_Black_Moves, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotBlackMoves(int)));
+ connect( SPIN_Black_Moves, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotBlackMoves(int)));
LABEL_Black_Inc = new TQLabel( i18n("Increment Per Move"), GRID_Black_Time );
SPIN_Black_Inc = new TQSpinBox( 0, 120, 1, GRID_Black_Time );
SPIN_Black_Inc->setSuffix( i18n(" sec.") );
- connect( SPIN_Black_Inc, TQT_SIGNAL( valueChanged(int)), this, TQT_SLOT( slotBlackInc(int)));
+ connect( SPIN_Black_Inc, TQ_SIGNAL( valueChanged(int)), this, TQ_SLOT( slotBlackInc(int)));
setTCP();
setTypes();
@@ -242,14 +242,14 @@ void dlg_newmatch::slotWhiteType( int type )
if( type == _TYPE_PC_ )
{
EngineSelect = new dlg_selectengine( this, myResource, WHITE );
- connect( EngineSelect, TQT_SIGNAL( valuesChanged() ), this, TQT_SLOT( slotReparse() ) );
+ connect( EngineSelect, TQ_SIGNAL( valuesChanged() ), this, TQ_SLOT( slotReparse() ) );
EngineSelect->exec();
Param->setType( WHITE, PLAYERPC );
}
else if( type == _TYPE_EMAIL_ )
{
EmailSelect = new dlg_selectemail( this, myResource );
- connect( EmailSelect, TQT_SIGNAL( valuesChanged() ), this, TQT_SLOT( slotReparse() ) );
+ connect( EmailSelect, TQ_SIGNAL( valuesChanged() ), this, TQ_SLOT( slotReparse() ) );
EmailSelect->exec();
Param->setType( WHITE, PLAYEREMAIL );
}
@@ -313,14 +313,14 @@ void dlg_newmatch::slotBlackType( int type )
if( type == _TYPE_PC_ )
{
EngineSelect = new dlg_selectengine( this, myResource, BLACK );
- connect( EngineSelect, TQT_SIGNAL( valuesChanged() ), this, TQT_SLOT( slotReparse() ) );
+ connect( EngineSelect, TQ_SIGNAL( valuesChanged() ), this, TQ_SLOT( slotReparse() ) );
EngineSelect->exec();
Param->setType( BLACK, PLAYERPC );
}
else if( type == _TYPE_EMAIL_ )
{
EmailSelect = new dlg_selectemail( this, myResource );
- connect( EmailSelect, TQT_SIGNAL( valuesChanged() ), this, TQT_SLOT( slotReparse() ) );
+ connect( EmailSelect, TQ_SIGNAL( valuesChanged() ), this, TQ_SLOT( slotReparse() ) );
EmailSelect->exec();
Param->setType( BLACK, PLAYEREMAIL );
}