diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-28 16:38:14 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:58:54 +0900 |
commit | ff0d52cab681a2154a1462935a5d9e4d6ebfe34e (patch) | |
tree | e7b68b2081d7f379ec279b5e99f42769c6d2eca8 /knights/setpageaudio.cpp | |
parent | 67931fdc7eef3648d88a34b9b01376ca8f6a70d7 (diff) | |
download | knights-ff0d52cab681a2154a1462935a5d9e4d6ebfe34e.tar.gz knights-ff0d52cab681a2154a1462935a5d9e4d6ebfe34e.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'knights/setpageaudio.cpp')
-rw-r--r-- | knights/setpageaudio.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/knights/setpageaudio.cpp b/knights/setpageaudio.cpp index 8812d3d..fda2f43 100644 --- a/knights/setpageaudio.cpp +++ b/knights/setpageaudio.cpp @@ -28,8 +28,8 @@ setPageAudio::setPageAudio(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(par BUTTON_enableAudio = new TQCheckBox( i18n( "Enable Audio" ), parent ); BUTTON_enableAudio->setChecked( Resource->OPTION_Audio ); addWidget( BUTTON_enableAudio ); - connect( BUTTON_enableAudio, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( slot_enableAudio(bool) ) ); + connect( BUTTON_enableAudio, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( slot_enableAudio(bool) ) ); GROUP_Theme = new TQGroupBox( 1, TQt::Vertical, @@ -38,8 +38,8 @@ setPageAudio::setPageAudio(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(par addWidget( GROUP_Theme ); Current_Theme = new KComboBox ( GROUP_Theme ); buildThemeList(); - connect( Current_Theme, TQT_SIGNAL( activated(int) ), - this, TQT_SLOT( slot_currentTheme(int) ) ); + connect( Current_Theme, TQ_SIGNAL( activated(int) ), + this, TQ_SLOT( slot_currentTheme(int) ) ); BOX_Main = new TQHBox( parent ); addWidget( BOX_Main ); @@ -47,15 +47,15 @@ setPageAudio::setPageAudio(TQWidget *parent, resource *Rsrc ) : TQVBoxLayout(par GROUP_Volume = new TQGroupBox( 3, TQt::Vertical, i18n( "Volume" ), BOX_Main ); Vol_Max = new TQLabel( i18n( "Maximum" ), GROUP_Volume ); Current_Volume = new TQSlider ( 0, 100, 10, Resource->Audio_Volume, TQt::Vertical, GROUP_Volume ); - connect( Current_Volume, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( slot_currentVolume(int) ) ); + connect( Current_Volume, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( slot_currentVolume(int) ) ); Current_Volume->setTickmarks( TQSlider::Right ); Vol_Min = new TQLabel( i18n( "Minimum" ), GROUP_Volume ); BOX_Options = new TQVBox( BOX_Main ); BUTTON_AudioCurrentOnly = new TQCheckBox( i18n( "For Current Match Only" ), BOX_Options ); BUTTON_AudioCurrentOnly->setChecked( Resource->OPTION_Audio_Current_Only ); - connect( BUTTON_AudioCurrentOnly, TQT_SIGNAL( toggled(bool) ), - this, TQT_SLOT( slot_AudioCurrentOnly(bool) ) ); + connect( BUTTON_AudioCurrentOnly, TQ_SIGNAL( toggled(bool) ), + this, TQ_SLOT( slot_AudioCurrentOnly(bool) ) ); } setPageAudio::~setPageAudio() { |