summaryrefslogtreecommitdiffstats
path: root/krec/krecconfig_fileswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch)
tree48ff13dab43883d19ecf2272b8ba72a013d5bc57 /krec/krecconfig_fileswidget.cpp
parentc05ca496a526b3fc192dbfafe0955e5824b22e08 (diff)
downloadtdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz
tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 );
}