summaryrefslogtreecommitdiffstats
path: root/krec/krecfile.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/krecfile.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/krecfile.cpp')
-rw-r--r--krec/krecfile.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/krec/krecfile.cpp b/krec/krecfile.cpp
index 9004b211..29d4640b 100644
--- a/krec/krecfile.cpp
+++ b/krec/krecfile.cpp
@@ -76,7 +76,7 @@ KRecFile::KRecFile( const TQString &filename, TQObject* p, const char* n )
KTar *tar = new KTar( _filename, "application/x-gzip" );
tar->open( IO_ReadOnly );
- int i=0; while ( _filename.tqfind( '/', i ) != -1 ) i++; // Find last '/'
+ int i=0; while ( _filename.find( '/', i ) != -1 ) i++; // Find last '/'
TQString basename = _filename.right( _filename.length()-i );
basename = basename.left( basename.length()-5 );
@@ -155,7 +155,7 @@ void KRecFile::save( const TQString &fname ) {
KTar *tar = new KTar( tmpname, "application/x-gzip" );
tar->open( IO_WriteOnly );
- int i=0; while ( fname.tqfind( '/', i ) != -1 ) i++; // Find last '/'
+ int i=0; while ( fname.find( '/', i ) != -1 ) i++; // Find last '/'
TQString basename = fname.right( fname.length()-i );
if ( basename.endsWith( ".krec" ) )
basename = basename.left( basename.length()-5 );
@@ -263,7 +263,7 @@ void KRecFile::newBuffer( KRecBuffer* buffer ) {
connect( buffer, TQT_SIGNAL( deleteSelf( KRecBuffer* ) ), this, TQT_SLOT( deleteBuffer( KRecBuffer* ) ) );
_buffers.append( buffer );
newSize( buffer, buffer->size() );
- _currentBuffer = _buffers.tqfindIndex( buffer );
+ _currentBuffer = _buffers.findIndex( buffer );
emit sNewBuffer( buffer );
_saved = false;
}
@@ -295,7 +295,7 @@ KRecBuffer* KRecFile::getTopBuffer_buffer( int pos ) {
return out;
}
int KRecFile::getTopBuffer_int( int pos ) {
- return _buffers.tqfindIndex( getTopBuffer_buffer( pos ) );
+ return _buffers.findIndex( getTopBuffer_buffer( pos ) );
}