diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 33881ea4441221b1ca0789a72c4c7249d923a0df (patch) | |
tree | ffe5603da373bb346bb29c8e0f533776f66560a5 /src/k3baudioplayer.cpp | |
parent | 6d99e1e138ae5aafc10f14682c48221bf563152e (diff) | |
download | k3b-33881ea4441221b1ca0789a72c4c7249d923a0df.tar.gz k3b-33881ea4441221b1ca0789a72c4c7249d923a0df.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/k3baudioplayer.cpp')
-rw-r--r-- | src/k3baudioplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/k3baudioplayer.cpp b/src/k3baudioplayer.cpp index 522fc19..6f44693 100644 --- a/src/k3baudioplayer.cpp +++ b/src/k3baudioplayer.cpp @@ -75,7 +75,7 @@ TQString K3bPlayListViewItem::text( int c ) const switch( c ) { case 0: { - int pos = m_filename.tqfindRev("/"); + int pos = m_filename.findRev("/"); if( pos >= 0 ) return m_filename.mid(pos+1); return m_filename; @@ -513,7 +513,7 @@ long K3bAudioPlayer::position() // FIXME: let my do some useful stuff! bool K3bAudioPlayer::supportsMimetype( const TQString& mimetype ) { - if( mimetype.tqcontains("audio") || mimetype.tqcontains("ogg") ) + if( mimetype.contains("audio") || mimetype.contains("ogg") ) return true; else return false; @@ -580,7 +580,7 @@ void K3bAudioPlayer::slotUpdateFilename() { if( m_currentItem ) { TQString display = m_currentItem->filename(); - int pos = display.tqfindRev("/"); + int pos = display.findRev("/"); if( pos >= 0 ) display = display.mid(pos+1); |