From 1ca6231ff7a251916340814041990bef8e282308 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jan 2024 11:36:54 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/app/xineConfig.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/app/xineConfig.cpp') diff --git a/src/app/xineConfig.cpp b/src/app/xineConfig.cpp index 9ad6b56..7ed26b9 100644 --- a/src/app/xineConfig.cpp +++ b/src/app/xineConfig.cpp @@ -218,7 +218,7 @@ XineConfigEntry::XineConfigEntry( TQWidget *parent, TQGridLayout *grid, xine_cfg { case XINE_CONFIG_TYPE_STRING: { w = new KLineEdit( m_string, parent ); - signal = SIGNAL(textChanged( const TQString& )); + signal = TQ_SIGNAL(textChanged( const TQString& )); break; } case XINE_CONFIG_TYPE_ENUM: { @@ -226,7 +226,7 @@ XineConfigEntry::XineConfigEntry( TQWidget *parent, TQGridLayout *grid, xine_cfg for( int i = 0; entry->enum_values[i]; ++i ) ((KComboBox*)w)->insertItem( TQString::fromUtf8( entry->enum_values[i] ) ); ((KComboBox*)w)->setCurrentItem( m_number ); - signal = SIGNAL(activated( int )); + signal = TQ_SIGNAL(activated( int )); break; } case XINE_CONFIG_TYPE_RANGE: @@ -236,14 +236,14 @@ XineConfigEntry::XineConfigEntry( TQWidget *parent, TQGridLayout *grid, xine_cfg TQMAX( m_number, entry->range_max ), // are both 0 even though this is bullshit 1, parent ); ((TQSpinBox*)w)->setValue( m_number ); - signal = SIGNAL(valueChanged( int )); + signal = TQ_SIGNAL(valueChanged( int )); break; } case XINE_CONFIG_TYPE_BOOL: { w = new TQCheckBox( description_text, parent ); ((TQCheckBox*)w)->setChecked( m_number ); - connect( w, SIGNAL(toggled( bool )), XineConfigDialog::instance(), SLOT(slotHelp()) ); + connect( w, TQ_SIGNAL(toggled( bool )), XineConfigDialog::instance(), TQ_SLOT(slotHelp()) ); TQToolTip::add( w, "" + TQString::fromUtf8( entry->help ) ); grid->addMultiCellWidget( w, row, row, 0, 1 ); return; //no need for a description label @@ -252,7 +252,7 @@ XineConfigEntry::XineConfigEntry( TQWidget *parent, TQGridLayout *grid, xine_cfg ; } - connect( w, signal, XineConfigDialog::instance(), SLOT(slotHelp()) ); + connect( w, signal, XineConfigDialog::instance(), TQ_SLOT(slotHelp()) ); TQLabel *description = new TQLabel( description_text + ':', parent ); description->setAlignment( TQLabel::WordBreak | TQLabel::AlignVCenter ); -- cgit v1.2.1