summaryrefslogtreecommitdiffstats
path: root/krec/krecconfig_fileswidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /krec/krecconfig_fileswidget.cpp
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 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 206eda1b..36e4521b 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->find( index ) == _rateother ) _rateotherbox->setEnabled( true );
+ if ( _ratebox->tqfind( index ) == _rateother ) _rateotherbox->setEnabled( true );
else _rateotherbox->setEnabled( false );
- 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;
+ 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;
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->find( index ) == _channels2 ) _channels = 2;
- if ( _channelsbox->find( index ) == _channels1 ) _channels = 1;
+ if ( _channelsbox->tqfind( index ) == _channels2 ) _channels = 2;
+ if ( _channelsbox->tqfind( index ) == _channels1 ) _channels = 1;
emit sChannelsChanged( _channels );
}
void KRecConfigFilesWidget::bitschanged( int index ) {
- if ( _bitsbox->find( index ) == _bits16 ) _bits = 16;
- if ( _bitsbox->find( index ) == _bits8 ) _bits = 8;
+ if ( _bitsbox->tqfind( index ) == _bits16 ) _bits = 16;
+ if ( _bitsbox->tqfind( index ) == _bits8 ) _bits = 8;
emit sBitsChanged( _bits );
}