summaryrefslogtreecommitdiffstats
path: root/krec/krecconfig_fileswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecconfig_fileswidget.cpp')
-rw-r--r--krec/krecconfig_fileswidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krec/krecconfig_fileswidget.cpp b/krec/krecconfig_fileswidget.cpp
index 36e4521b..206eda1b 100644
--- a/krec/krecconfig_fileswidget.cpp
+++ b/krec/krecconfig_fileswidget.cpp
@@ -119,12 +119,12 @@ void KRecConfigFilesWidget::defaults() {
}
void KRecConfigFilesWidget::ratechanged( int index ) {
- if ( _ratebox->tqfind( index ) == _rateother ) _rateotherbox->setEnabled( true );
+ if ( _ratebox->find( index ) == _rateother ) _rateotherbox->setEnabled( true );
else _rateotherbox->setEnabled( false );
- if ( _ratebox->tqfind( index ) == _rate48 ) _samplingRate = 48000;
- if ( _ratebox->tqfind( index ) == _rate44 ) _samplingRate = 44100;
- if ( _ratebox->tqfind( index ) == _rate22 ) _samplingRate = 22050;
- if ( _ratebox->tqfind( index ) == _rate11 ) _samplingRate = 11025;
+ if ( _ratebox->find( index ) == _rate48 ) _samplingRate = 48000;
+ if ( _ratebox->find( index ) == _rate44 ) _samplingRate = 44100;
+ if ( _ratebox->find( index ) == _rate22 ) _samplingRate = 22050;
+ if ( _ratebox->find( index ) == _rate11 ) _samplingRate = 11025;
emit sRateChanged( _samplingRate );
}
void KRecConfigFilesWidget::rateotherchanged( const TQString& text ) {
@@ -132,13 +132,13 @@ void KRecConfigFilesWidget::rateotherchanged( const TQString& text ) {
emit sRateChanged( _samplingRate );
}
void KRecConfigFilesWidget::channelschanged( int index ) {
- if ( _channelsbox->tqfind( index ) == _channels2 ) _channels = 2;
- if ( _channelsbox->tqfind( index ) == _channels1 ) _channels = 1;
+ if ( _channelsbox->find( index ) == _channels2 ) _channels = 2;
+ if ( _channelsbox->find( index ) == _channels1 ) _channels = 1;
emit sChannelsChanged( _channels );
}
void KRecConfigFilesWidget::bitschanged( int index ) {
- if ( _bitsbox->tqfind( index ) == _bits16 ) _bits = 16;
- if ( _bitsbox->tqfind( index ) == _bits8 ) _bits = 8;
+ if ( _bitsbox->find( index ) == _bits16 ) _bits = 16;
+ if ( _bitsbox->find( index ) == _bits8 ) _bits = 8;
emit sBitsChanged( _bits );
}