From da4be7880ff1de6415ab6256afd2514e64f5fa2e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkscan/kscandevice.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libkscan/kscandevice.cpp') diff --git a/libkscan/kscandevice.cpp b/libkscan/kscandevice.cpp index b603f15f..3aa8571e 100644 --- a/libkscan/kscandevice.cpp +++ b/libkscan/kscandevice.cpp @@ -240,7 +240,7 @@ KScanStat KScanDevice::openDevice( const TQCString& backend ) if( backend.isEmpty() ) return KSCAN_ERR_PARAM; // search for scanner - int indx = scanner_avail.tqfind( backend ); + int indx = scanner_avail.find( backend ); if( indx < 0 ) { stat = KSCAN_ERR_NO_DEVICE; @@ -570,7 +570,7 @@ void KScanDevice::slSetDirty( const TQCString& name ) { if( optionExists( name ) ) { - if( dirtyList.tqfind( name ) == -1 ) + if( dirtyList.find( name ) == -1 ) { kdDebug(29000)<< "Setting dirty <" << name << ">" << endl; /* item not found */ @@ -675,7 +675,7 @@ const TQString KScanDevice::previewFile() TQString fname = dir + TQString::tqfromLatin1(".previews/"); TQString sname( getScannerName(shortScannerName()) ); - sname.tqreplace( '/', "_"); + sname.replace( '/', "_"); return fname+sname; } -- cgit v1.2.1