summaryrefslogtreecommitdiffstats
path: root/src/translators/htmlexporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/translators/htmlexporter.cpp')
-rw-r--r--src/translators/htmlexporter.cpp12
1 files changed, 6 insertions, 6 deletions
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);