From 0254ebaa5e056092461fd585b6851d15faa43035 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/applications/tellico@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/translators/htmlexporter.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/translators/htmlexporter.cpp') diff --git a/src/translators/htmlexporter.cpp b/src/translators/htmlexporter.cpp index 77a09c0..8ea2218 100644 --- a/src/translators/htmlexporter.cpp +++ b/src/translators/htmlexporter.cpp @@ -292,7 +292,7 @@ void HTMLExporter::setFormattingOptions(Data::CollPtr coll) { } // the third sort column may be same as first - if(!m_sort3.isEmpty() && sortTitles.tqfindIndex(m_sort3) == -1) { + if(!m_sort3.isEmpty() && sortTitles.findIndex(m_sort3) == -1) { sortTitles << m_sort3; } @@ -539,7 +539,7 @@ const xmlChar* HTMLExporter::handleLink(const xmlChar* link_) { } TQString HTMLExporter::handleLink(const TQString& link_) { - if(m_links.tqcontains(link_)) { + if(m_links.contains(link_)) { return m_links[link_]; } // assume that if the link_ is not relative, then we don't need to copy it @@ -593,20 +593,20 @@ TQString HTMLExporter::analyzeInternalCSS(const TQString& str_) { int start = 0; int end = 0; const TQString url = TQString::tqfromLatin1("url("); - for(int pos = str.tqfind(url); pos >= 0; pos = str.tqfind(url, pos+1)) { + for(int pos = str.find(url); pos >= 0; pos = str.find(url, pos+1)) { pos += 4; // url( if(str[pos] == '"' || str[pos] == '\'') { ++pos; } start = pos; - pos = str.tqfind(')', start); + pos = str.find(')', start); end = pos; if(str[pos-1] == '"' || str[pos-1] == '\'') { --end; } - str.tqreplace(start, end-start, handleLink(str.mid(start, end-start))); + str.replace(start, end-start, handleLink(str.mid(start, end-start))); } return str; } @@ -704,7 +704,7 @@ bool HTMLExporter::writeEntryFiles() { if(multipleTitles) { file = file.section(';', 0, 0); } - file.tqreplace(badChars, TQChar('_')); + file.replace(badChars, TQChar('_')); file += TQChar('-') + TQString::number(entryIt->id()) + html; outputFile.setFileName(file); -- cgit v1.2.1