summaryrefslogtreecommitdiffstats
path: root/parts/texttools/texttoolswidget.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
commit330c33ab6f97b279737bf9527c9add7bb1475450 (patch)
tree85cb998d3077ae295d65944ebb4d0189fc660ead /parts/texttools/texttoolswidget.cpp
parent093de0db4fea89b3f94a2359c6981f353d035eb7 (diff)
downloadtdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.tar.gz
tdevelop-330c33ab6f97b279737bf9527c9add7bb1475450.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/texttools/texttoolswidget.cpp')
-rw-r--r--parts/texttools/texttoolswidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/parts/texttools/texttoolswidget.cpp b/parts/texttools/texttoolswidget.cpp
index 59a6fb21..269c8136 100644
--- a/parts/texttools/texttoolswidget.cpp
+++ b/parts/texttools/texttoolswidget.cpp
@@ -291,7 +291,7 @@ void TextToolsWidget::parseXML()
++endpos;
}
- if (!m_relevantTags.tqcontains(tag)) {
+ if (!m_relevantTags.contains(tag)) {
pos = endpos;
continue;
}
@@ -327,7 +327,7 @@ void TextToolsWidget::parseXML()
++endpos;
}
- if (!m_relevantTags.tqcontains(tag)) {
+ if (!m_relevantTags.contains(tag)) {
pos = endpos;
continue;
}
@@ -337,7 +337,7 @@ void TextToolsWidget::parseXML()
item->pos = pos;
item->endpos = -1;
- if (m_emptyTags.tqcontains(tag))
+ if (m_emptyTags.contains(tag))
item->endpos = endpos;
else
currentItem = item;
@@ -376,8 +376,8 @@ void TextToolsWidget::parseLaTeX()
TQString tag = re.cap(1);
TQString title = re.cap(2);
kdDebug(9030) << "Match with " << tag << " and title " << title << endl;
- int level = hierarchyLevels.tqfind(tag);
- while (currentItem->tqparent() && level <= hierarchyLevels.tqfind(currentItem->tag))
+ int level = hierarchyLevels.find(tag);
+ while (currentItem->tqparent() && level <= hierarchyLevels.find(currentItem->tag))
currentItem = currentItem->parentStructItem();
TextStructItem *item = new TextStructItem(currentItem);
@@ -386,7 +386,7 @@ void TextToolsWidget::parseLaTeX()
item->pos = pos+1;
item->endpos = pos+re.matchedLength()-1; // lie
- if (level > hierarchyLevels.tqfind(currentItem->tag))
+ if (level > hierarchyLevels.find(currentItem->tag))
currentItem = item;
pos = pos+re.matchedLength();