diff options
author | Michele Calgaro <[email protected]> | 2024-01-02 11:36:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-02 11:36:54 +0900 |
commit | 1ca6231ff7a251916340814041990bef8e282308 (patch) | |
tree | 70032d1b548c828ee397996ac1e6ef12b998698b /src/app/xineConfig.cpp | |
parent | 6208d03e3d27f1516519199132a8dc8d61e222f1 (diff) | |
download | codeine-1ca6231ff7a251916340814041990bef8e282308.tar.gz codeine-1ca6231ff7a251916340814041990bef8e282308.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/app/xineConfig.cpp')
-rw-r--r-- | src/app/xineConfig.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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, "<qt>" + 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 ); |