summaryrefslogtreecommitdiffstats
path: root/knights/setpagegeneral.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knights/setpagegeneral.cpp')
-rw-r--r--knights/setpagegeneral.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/knights/setpagegeneral.cpp b/knights/setpagegeneral.cpp
index 34d7c46..3e65263 100644
--- a/knights/setpagegeneral.cpp
+++ b/knights/setpagegeneral.cpp
@@ -32,7 +32,7 @@ setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout
addWidget( GROUP_UserName );
EDIT_UserName = new KLineEdit( GROUP_UserName );
EDIT_UserName->setText( Resource->Local_Player );
- connect( EDIT_UserName, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slot_UserName(const TQString&) ) );
+ connect( EDIT_UserName, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slot_UserName(const TQString&) ) );
BOX_SaveInit = new TQHBox( parent );
addWidget( BOX_SaveInit );
@@ -45,8 +45,8 @@ setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout
if( Resource->OPTION_On_Init == 0 ) GROUP_OnInit->setButton( 0 );
else if( Resource->OPTION_On_Init == MENU_VS_PC ) GROUP_OnInit->setButton( 1 );
else GROUP_OnInit->setButton( 2 );
- connect( GROUP_OnInit, TQT_SIGNAL( clicked(int) ),
- this, TQT_SLOT( slot_Init(int) ) );
+ connect( GROUP_OnInit, TQ_SIGNAL( clicked(int) ),
+ this, TQ_SLOT( slot_Init(int) ) );
GROUP_AutoSave = new TQButtonGroup( 3, TQt::Vertical, i18n("Save Match on Close?"), BOX_SaveInit );
BUTTON_AutoSave_Yes = new TQRadioButton( i18n( "Yes" ), GROUP_AutoSave );
@@ -56,8 +56,8 @@ setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout
if( Resource->PromptForSaving == "Yes" ) GROUP_AutoSave->setButton( 0 );
else if( Resource->PromptForSaving == "No" ) GROUP_AutoSave->setButton( 1 );
else GROUP_AutoSave->setButton( 2 );
- connect( GROUP_AutoSave, TQT_SIGNAL( clicked(int) ),
- this, TQT_SLOT( slot_AutoSave(int) ) );
+ connect( GROUP_AutoSave, TQ_SIGNAL( clicked(int) ),
+ this, TQ_SLOT( slot_AutoSave(int) ) );
GROUP_Reuse_PGN = new TQGroupBox( 2,
TQt::Vertical,
@@ -66,43 +66,43 @@ setPageGeneral::setPageGeneral(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout
addWidget( GROUP_Reuse_PGN );
BUTTON_Reuse_PGN = new TQCheckBox( i18n( "Append to Save File" ), GROUP_Reuse_PGN );
BUTTON_Reuse_PGN->setChecked( Resource->OPTION_Reuse_PGN );
- connect( BUTTON_Reuse_PGN, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slot_Reuse_PGN(bool) ) );
+ connect( BUTTON_Reuse_PGN, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slot_Reuse_PGN(bool) ) );
BOX_Reuse_PGN = new TQHBox( GROUP_Reuse_PGN );
EDIT_PGN_Filename = new KLineEdit( BOX_Reuse_PGN );
EDIT_PGN_Filename->setText( Resource->PGN_Filename );
- connect( EDIT_PGN_Filename, TQT_SIGNAL( textChanged(const TQString&) ), this, TQT_SLOT( slot_PGN_Filename(const TQString&) ) );
+ connect( EDIT_PGN_Filename, TQ_SIGNAL( textChanged(const TQString&) ), this, TQ_SLOT( slot_PGN_Filename(const TQString&) ) );
BUTTON_PGN_Filename = new TQPushButton( BOX_Reuse_PGN );
BUTTON_PGN_Filename->setPixmap( Resource->LoadIcon( TQString( "document-open" ), TDEIcon::Toolbar ) );
- connect( BUTTON_PGN_Filename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slot_PGN_Filename_Button() ) );
+ connect( BUTTON_PGN_Filename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slot_PGN_Filename_Button() ) );
EDIT_PGN_Filename->setEnabled( Resource->OPTION_Reuse_PGN );
BUTTON_PGN_Filename->setEnabled( Resource->OPTION_Reuse_PGN );
BUTTON_Pause_On_Minimize = new TQCheckBox( i18n( "Pause on Minimize" ), parent );
BUTTON_Pause_On_Minimize->setChecked( Resource->OPTION_Pause_On_Minimize );
- connect( BUTTON_Pause_On_Minimize, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slot_Pause_On_Minimize(bool) ) );
+ connect( BUTTON_Pause_On_Minimize, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slot_Pause_On_Minimize(bool) ) );
addWidget( BUTTON_Pause_On_Minimize );
BUTTON_Auto_Queen = new TQCheckBox( i18n( "Always Promote to Queen" ), parent );
BUTTON_Auto_Queen->setChecked( Resource->OPTION_Auto_Queen );
- connect( BUTTON_Auto_Queen, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slot_Auto_Queen(bool) ) );
+ connect( BUTTON_Auto_Queen, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slot_Auto_Queen(bool) ) );
addWidget( BUTTON_Auto_Queen );
BUTTON_Auto_Flag = new TQCheckBox( i18n( "Call Flag Automatically" ), parent );
BUTTON_Auto_Flag->setChecked( Resource->OPTION_Auto_Call_Flag );
- connect( BUTTON_Auto_Flag, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slot_Auto_Flag(bool) ) );
+ connect( BUTTON_Auto_Flag, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slot_Auto_Flag(bool) ) );
addWidget( BUTTON_Auto_Flag );
BUTTON_Delete_Logs = new TQCheckBox( i18n( "Delete Log Files on Exit" ), parent );
TQWhatsThis::add( BUTTON_Delete_Logs, i18n("If set, chess engine log files will be deleted on exit. "
"Only files named \"game.###\" and \"log.###\" placed in the user home folder will be removed"));
BUTTON_Delete_Logs->setChecked( Resource->OPTION_Delete_Logs );
- connect( BUTTON_Delete_Logs, TQT_SIGNAL( toggled(bool) ),
- this, TQT_SLOT( slot_Delete_Logs(bool) ) );
+ connect( BUTTON_Delete_Logs, TQ_SIGNAL( toggled(bool) ),
+ this, TQ_SLOT( slot_Delete_Logs(bool) ) );
addWidget( BUTTON_Delete_Logs );
}