summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/domtreeviewer')
-rw-r--r--konq-plugins/domtreeviewer/domtreecommands.cpp4
-rw-r--r--konq-plugins/domtreeviewer/domtreeview.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/domtreeviewer/domtreecommands.cpp b/konq-plugins/domtreeviewer/domtreecommands.cpp
index e8f8f05..7eef49d 100644
--- a/konq-plugins/domtreeviewer/domtreecommands.cpp
+++ b/konq-plugins/domtreeviewer/domtreecommands.cpp
@@ -401,8 +401,8 @@ void ChangeCDataCommand::apply()
if (!shouldReapply()) {
oldValue = cdata.data();
has_newlines =
- TQConstString(value.tqunicode(), value.length()).string().tqcontains('\n')
- || TQConstString(oldValue.tqunicode(), oldValue.length()).string().tqcontains('\n');
+ TQConstString(value.tqunicode(), value.length()).string().contains('\n')
+ || TQConstString(oldValue.tqunicode(), oldValue.length()).string().contains('\n');
}
cdata.setData(value);
addChangedNode(cdata);
diff --git a/konq-plugins/domtreeviewer/domtreeview.cpp b/konq-plugins/domtreeviewer/domtreeview.cpp
index fb0760a..84f78ac 100644
--- a/konq-plugins/domtreeviewer/domtreeview.cpp
+++ b/konq-plugins/domtreeviewer/domtreeview.cpp
@@ -503,7 +503,7 @@ void DOMTreeView::searchRecursive(DOMListViewItem* cur_item, const TQString& sea
bool caseSensitive)
{
const TQString text(cur_item->text(0));
- if (text.tqcontains(searchText, caseSensitive) > 0) {
+ if (text.contains(searchText, caseSensitive) > 0) {
cur_item->setUnderline(true);
cur_item->setItalic(true);
m_listView->setCurrentItem(cur_item);
@@ -1168,7 +1168,7 @@ void DOMTreeView::slotEditAttribute(TQListViewItem *lvi, const TQPoint &, int co
slotItemRenamed(lvi, attrName, 0);
// Reget, item may have been changed
- lvi = nodeAttributes->tqfindItem(attrName, 0);
+ lvi = nodeAttributes->findItem(attrName, 0);
}
if (lvi && lvi->text(1) != attrValue)