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 | da4be7880ff1de6415ab6256afd2514e64f5fa2e (patch) | |
tree | 0862c14883af0435b012f6f592221fc167ed7d91 /kmrml/kmrml/kcontrol/indexer.cpp | |
parent | d0a269b9b0361bf71c5dd5787be0839f9dcace8c (diff) | |
download | tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.tar.gz tdegraphics-da4be7880ff1de6415ab6256afd2514e64f5fa2e.zip |
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
Diffstat (limited to 'kmrml/kmrml/kcontrol/indexer.cpp')
-rw-r--r-- | kmrml/kmrml/kcontrol/indexer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmrml/kmrml/kcontrol/indexer.cpp b/kmrml/kmrml/kcontrol/indexer.cpp index 0308dd39..14c6a5c5 100644 --- a/kmrml/kmrml/kcontrol/indexer.cpp +++ b/kmrml/kmrml/kcontrol/indexer.cpp @@ -93,14 +93,14 @@ void Indexer::processNext() TQString cmd = m_config->addCollectionCommandLine().simplifyWhiteSpace().stripWhiteSpace(); - // in the commandline, tqreplace %d with the directory to process and + // in the commandline, replace %d with the directory to process and // %t with the thumbnail dir - int index = cmd.tqfind( "%d" ); // ### TQFile::encodeName()? + int index = cmd.find( "%d" ); // ### TQFile::encodeName()? if ( index != -1 ) - cmd.tqreplace( index, 2, TQUOTE( m_currentDir ) ); - index = cmd.tqfind( "%t" ); + cmd.replace( index, 2, TQUOTE( m_currentDir ) ); + index = cmd.find( "%t" ); if ( index != -1 ) - cmd.tqreplace( index, 2, TQUOTE(m_currentDir + "_thumbnails") ); + cmd.replace( index, 2, TQUOTE(m_currentDir + "_thumbnails") ); // qDebug("****** command: %s", cmd.latin1()); #if KDE_VERSION >= 306 |